diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2015-01-21 14:52:07 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-01-23 22:38:54 +0300 |
commit | 908414af255ea974bd0cfe54918d7957cd457d15 (patch) | |
tree | 931152c6cf9f63212f627d91346f2ca4d3d4de41 /drivers/bcma/host_soc.c | |
parent | 961d1bbecf33de0321cc59f0ea16dd517ecbf3fb (diff) | |
download | linux-908414af255ea974bd0cfe54918d7957cd457d15.tar.xz |
atmel: Remove open-coded and wrong strcasecmp
The kernel's string library does in fact have strcasecmp, at least
since ded220bd8f08 ("[STRING]: Move strcasecmp/strncasecmp to
lib/string.c"). Moreover, this open-coded version is in fact wrong: If
the strings only differ in their last character, a and b have already
been incremented to point to the terminating NUL bytes, so they would
wrongly be treated as equal.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/bcma/host_soc.c')
0 files changed, 0 insertions, 0 deletions