From dd61efd6adf698df570299a90fd820909790ac05 Mon Sep 17 00:00:00 2001 From: brooks Date: Sat, 15 Jul 2006 02:13:05 +0000 Subject: Drop a pointless cast of ifp->if_softc to (struct tap_softc *). --- sys/net/if_tap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/net') diff --git a/sys/net/if_tap.c b/sys/net/if_tap.c index a317f0a..dd40cde 100644 --- a/sys/net/if_tap.c +++ b/sys/net/if_tap.c @@ -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; -- cgit v1.1