Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/dev/usb/if_cdce.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/dev/usb/if_cdce.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.79 retrieving revision 1.80 diff -u -p -r1.79 -r1.80 --- src/sys/dev/usb/if_cdce.c 2022/03/03 05:56:09 1.79 +++ src/sys/dev/usb/if_cdce.c 2022/03/03 05:56:18 1.80 @@ -1,4 +1,4 @@ -/* $NetBSD: if_cdce.c,v 1.79 2022/03/03 05:56:09 riastradh Exp $ */ +/* $NetBSD: if_cdce.c,v 1.80 2022/03/03 05:56:18 riastradh Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000-2003 Bill Paul @@ -40,7 +40,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_cdce.c,v 1.79 2022/03/03 05:56:09 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_cdce.c,v 1.80 2022/03/03 05:56:18 riastradh Exp $"); #include @@ -82,12 +82,10 @@ static void cdce_uno_rx_loop(struct usbn uint32_t); static unsigned cdce_uno_tx_prepare(struct usbnet *, struct mbuf *, struct usbnet_chain *); -static int cdce_uno_init(struct ifnet *); static const struct usbnet_ops cdce_ops = { .uno_tx_prepare = cdce_uno_tx_prepare, .uno_rx_loop = cdce_uno_rx_loop, - .uno_init = cdce_uno_init, }; static int @@ -255,13 +253,6 @@ cdce_attach(device_t parent, device_t se 0, NULL); } -static int -cdce_uno_init(struct ifnet *ifp) -{ - - return 0; -} - static void cdce_uno_rx_loop(struct usbnet * un, struct usbnet_chain *c, uint32_t total_len) {