From 4b1f376878b2fae6bd734482f3815fcd6252cc48 Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Tue, 20 Dec 2005 15:27:49 +0000 Subject: Superfluous stuff. --- sys/dev/pci/if_art.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'sys') 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 #include -#include #include -#include #include #include @@ -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 -- cgit v1.2.3