From: deraadt Date: Wed, 13 Jul 2016 15:40:26 +0000 (+0000) Subject: remove unused function ether_cmp() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=bb4b42782f61a28522d9e71539cc7291ab18ec73;p=openbsd remove unused function ether_cmp() from tom --- 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;