Drop a pointless cast of ifp->if_softc to (struct tap_softc *).

This commit is contained in:
Brooks Davis 2006-07-15 02:13:05 +00:00
parent e9a404fffd
commit 6a51be11da

View file

@ -496,7 +496,7 @@ tapifinit(void *xtp)
static int
tapifioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
{
struct tap_softc *tp = (struct tap_softc *)(ifp->if_softc);
struct tap_softc *tp = ifp->if_softc;
struct ifstat *ifs = NULL;
int s, dummy;