summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2004-12-30 05:44:16 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2004-12-30 05:44:16 +0000
commit53c3a282444957bbdd91dcf66081932f5490b978 (patch)
tree288f71d9d6aea2fba4db5ae8fa85dc10aa5e8e2c /sys/dev
parent9f4c08918e16369411b2d37410dcdd54b4f8e4ec (diff)
Don't zero error value, return it.
ok brad@.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_bge.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c
index 46a08074d72..8ad51f267a9 100644
--- a/sys/dev/pci/if_bge.c
+++ b/sys/dev/pci/if_bge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bge.c,v 1.48 2004/12/26 02:10:22 brad Exp $ */
+/* $OpenBSD: if_bge.c,v 1.49 2004/12/30 05:44:15 krw Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
* Copyright (c) 1997, 1998, 1999, 2001
@@ -3056,7 +3056,6 @@ bge_ioctl(ifp, command, data)
error = ifmedia_ioctl(ifp, ifr, &mii->mii_media,
command);
}
- error = 0;
break;
default:
error = EINVAL;