summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1997-11-26 22:45:47 +0000
committerjoerg <joerg@FreeBSD.org>1997-11-26 22:45:47 +0000
commit3544475d0b9504ed98d71da00a5f02dba5008885 (patch)
treef4759c620eac408a52b62a05512f227062c28df8 /sys/amd64
parent2053d9365e1089751c84f7763a4d82499a28cbb9 (diff)
downloadFreeBSD-src-3544475d0b9504ed98d71da00a5f02dba5008885.zip
FreeBSD-src-3544475d0b9504ed98d71da00a5f02dba5008885.tar.gz
Removed an unused line of code, that caused an ``maybe used uninitialized''
warning. Found by: Simon Shapiro
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/sys_machdep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/amd64/amd64/sys_machdep.c b/sys/amd64/amd64/sys_machdep.c
index 2cf454d..b9972e6 100644
--- a/sys/amd64/amd64/sys_machdep.c
+++ b/sys/amd64/amd64/sys_machdep.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)sys_machdep.c 5.5 (Berkeley) 1/19/91
- * $Id: sys_machdep.c,v 1.28 1997/11/06 19:28:05 phk Exp $
+ * $Id: sys_machdep.c,v 1.29 1997/11/20 18:43:45 bde Exp $
*
*/
@@ -233,7 +233,6 @@ i386_get_ioperm(p, args)
iomap = (char *)p->p_addr->u_pcb.pcb_ext->ext_iomap;
- state = (iomap[i >> 3] >> (i & 7)) & 1;
ua.enable = !state;
ua.length = 1;
OpenPOWER on IntegriCloud