summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_art.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2005-12-20 15:27:49 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2005-12-20 15:27:49 +0000
commit4b1f376878b2fae6bd734482f3815fcd6252cc48 (patch)
tree3fa026d189b43cb3738b998ed7f40121957e22f5 /sys/dev/pci/if_art.c
parentd37d577df749fb0ee475d5602b1982d10619df14 (diff)
Superfluous stuff.
Diffstat (limited to 'sys/dev/pci/if_art.c')
-rw-r--r--sys/dev/pci/if_art.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/pci/if_art.c b/sys/dev/pci/if_art.c
index 65827e14428..1df1e02b014 100644
--- a/sys/dev/pci/if_art.c
+++ b/sys/dev/pci/if_art.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_art.c,v 1.10 2005/12/19 15:49:53 claudio Exp $ */
+/* $OpenBSD: if_art.c,v 1.11 2005/12/20 15:27:48 claudio Exp $ */
/*
* Copyright (c) 2004,2005 Internet Business Solutions AG, Zurich, Switzerland
@@ -27,9 +27,7 @@
#include <sys/syslog.h>
#include <sys/systm.h>
-#include <machine/cpu.h>
#include <machine/bus.h>
-#include <machine/intr.h>
#include <net/if.h>
#include <net/if_media.h>
@@ -231,8 +229,6 @@ art_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
break;
case SIOCSIFMEDIA:
case SIOCGIFMEDIA:
- ac = (struct art_softc *)
- ((struct channel_softc *)ifp->if_softc)->cc_parent;
if (ac != NULL)
rv = ifmedia_ioctl(ifp, ifr, &ac->art_ifm, command);
else