linux_dsm_epyc7002/drivers/net/ethernet/dec
Rasmus Villemoes 36c71a735a net: tulip: Remove private "strncmp"
The comment says that the built-in strncmp didn't work. That is not
surprising, as apparently "str" semantics are not really what is
wanted (hint: de4x5_strncmp only stops when two different bytes are
encountered or the end is reached; not if either byte happens to be
0). de4x5_strncmp is actually a memcmp (except for the signature and
that bytes are not necessarily treated as unsigned char); since only
the boolean value of the result is used we can just replace
de4x5_strncmp with memcmp.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Acked-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-12-09 13:45:29 -05:00
..
tulip net: tulip: Remove private "strncmp" 2014-12-09 13:45:29 -05:00
Kconfig drivers/net: delete Digital EtherWorks-3 support. 2013-01-22 10:39:55 -05:00
Makefile drivers/net: delete Digital EtherWorks-3 support. 2013-01-22 10:39:55 -05:00