aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ed
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2009-05-13 14:43:26 +0000
committerWarner Losh <imp@FreeBSD.org>2009-05-13 14:43:26 +0000
commitd47f0d75af4cf9eeeb0fe04ceb6a708bb0670eb3 (patch)
treed59d36260a3c6a7025add30920a2b2feb7382a25 /sys/dev/ed
parent0a594d9ecc33f10d0c74dc16ff3cdbc4e509649d (diff)
Notes
Diffstat (limited to 'sys/dev/ed')
-rw-r--r--sys/dev/ed/if_ed.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c
index 5a60569ff1ef..f94ec8b76806 100644
--- a/sys/dev/ed/if_ed.c
+++ b/sys/dev/ed/if_ed.c
@@ -1164,14 +1164,6 @@ ed_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
struct ifreq *ifr = (struct ifreq *)data;
int error = 0;
- /*
- * XXX really needed?
- */
- if (sc == NULL) {
- ifp->if_drv_flags &= ~IFF_DRV_RUNNING;
- return (ENXIO);
- }
-
switch (command) {
case SIOCSIFFLAGS:
/*