diff options
author | 2016-07-13 15:40:26 +0000 | |
---|---|---|
committer | 2016-07-13 15:40:26 +0000 | |
commit | bb4b42782f61a28522d9e71539cc7291ab18ec73 (patch) | |
tree | 02a82249594596b174ecb9d46cb387791c1e6214 /sys | |
parent | Use the device tree voltage regulator information to supply power to the USB (diff) | |
download | wireguard-openbsd-bb4b42782f61a28522d9e71539cc7291ab18ec73.tar.xz wireguard-openbsd-bb4b42782f61a28522d9e71539cc7291ab18ec73.zip |
remove unused function ether_cmp()
from tom
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/smc91cxx.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/dev/ic/smc91cxx.c b/sys/dev/ic/smc91cxx.c index 27b0bdb88a0..83d59bf0043 100644 --- a/sys/dev/ic/smc91cxx.c +++ b/sys/dev/ic/smc91cxx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smc91cxx.c,v 1.47 2016/04/13 10:49:26 mpi Exp $ */ +/* $OpenBSD: smc91cxx.c,v 1.48 2016/07/13 15:40:26 deraadt Exp $ */ /* $NetBSD: smc91cxx.c,v 1.11 1998/08/08 23:51:41 mycroft Exp $ */ /*- @@ -181,18 +181,6 @@ void smc91cxx_resume(struct smc91cxx_softc *); void smc91cxx_watchdog(struct ifnet *); int smc91cxx_ioctl(struct ifnet *, u_long, caddr_t); -static __inline int ether_cmp(void *, void *); -static __inline int -ether_cmp(va, vb) - void *va, *vb; -{ - u_int8_t *a = va; - u_int8_t *b = vb; - - return ((a[5] != b[5]) || (a[4] != b[4]) || (a[3] != b[3]) || - (a[2] != b[2]) || (a[1] != b[1]) || (a[0] != b[0])); -} - void smc91cxx_attach(sc, myea) struct smc91cxx_softc *sc; |