diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-04-12 09:02:39 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-04-12 09:02:39 +0000 |
commit | 65e8edc76bc0fb61dfaf6f3bfa8b81b77f9a7053 (patch) | |
tree | 4d912351f9e5c9511e85c694bd8f9eef97ef11dc | |
parent | 85fb60ef9e5d5f931d3cec1d3b11e2f416be7d97 (diff) | |
download | glibc-65e8edc76bc0fb61dfaf6f3bfa8b81b77f9a7053.tar glibc-65e8edc76bc0fb61dfaf6f3bfa8b81b77f9a7053.tar.gz glibc-65e8edc76bc0fb61dfaf6f3bfa8b81b77f9a7053.tar.bz2 glibc-65e8edc76bc0fb61dfaf6f3bfa8b81b77f9a7053.zip |
(_outw, _outb, _outl): Don't bother range checking the port number.
-rw-r--r-- | sysdeps/unix/sysv/linux/arm/ioperm.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sysdeps/unix/sysv/linux/arm/ioperm.c b/sysdeps/unix/sysv/linux/arm/ioperm.c index 551fc97d0c..260226d9f3 100644 --- a/sysdeps/unix/sysv/linux/arm/ioperm.c +++ b/sysdeps/unix/sysv/linux/arm/ioperm.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1998 Free Software Foundation, Inc. +/* Copyright (C) 1998, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Phil Blundell, based on the Alpha version by David Mosberger. @@ -214,9 +214,6 @@ _iopl (unsigned int level) void _outb (unsigned char b, unsigned long int port) { - if (port >= MAX_PORT) - return; - *((volatile unsigned char *)(IO_ADDR (port))) = b; } @@ -224,9 +221,6 @@ _outb (unsigned char b, unsigned long int port) void _outw (unsigned short b, unsigned long int port) { - if (port >= MAX_PORT) - return; - *((volatile unsigned short *)(IO_ADDR (port))) = b; } @@ -234,9 +228,6 @@ _outw (unsigned short b, unsigned long int port) void _outl (unsigned int b, unsigned long int port) { - if (port >= MAX_PORT) - return; - *((volatile unsigned long *)(IO_ADDR (port))) = b; } |