diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2016-07-13 15:40:27 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2016-07-13 15:40:27 +0000 |
commit | f53ec4450e32cf5a0f9b6a01e8cf405a184faf81 (patch) | |
tree | da3cc3474ca6be71fe4f83a7492bd1e16405f01a /sys/dev/ic/smc91cxx.c | |
parent | e6defae17257817c76fe597382d3a02b6dce578c (diff) |
remove unused function ether_cmp()
from tom
Diffstat (limited to 'sys/dev/ic/smc91cxx.c')
-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; |