diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2004-12-03 13:21:05 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2004-12-03 13:21:05 +0000 |
commit | 6aa21abba7981b99d4626ba5814aa62a3e622224 (patch) | |
tree | 7e04a7a1c8d68e91c14e20488228b392dac1d445 /sys | |
parent | 39f20321c2745f17a14e925c8a921d9cb0832be7 (diff) |
Don't need to set ifp->if_mtu as ether_ifattach does this for us.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/usb/if_udav.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/usb/if_udav.c b/sys/dev/usb/if_udav.c index a22af50771b..0ac41fe15cc 100644 --- a/sys/dev/usb/if_udav.c +++ b/sys/dev/usb/if_udav.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_udav.c,v 1.3 2004/11/11 22:46:30 deraadt Exp $ */ +/* $OpenBSD: if_udav.c,v 1.4 2004/12/03 13:21:04 jsg Exp $ */ /* $NetBSD: if_udav.c,v 1.3 2004/04/23 17:25:25 itojun Exp $ */ /* $nabe: if_udav.c,v 1.3 2003/08/21 16:57:19 nabe Exp $ */ /* @@ -292,7 +292,6 @@ USB_ATTACH(udav) /* initialize interface infomation */ ifp = GET_IFP(sc); ifp->if_softc = sc; - ifp->if_mtu = ETHERMTU; strlcpy(ifp->if_xname, devname, IFNAMSIZ); ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; ifp->if_start = udav_start; |