diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2015-01-21 12:52:07 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-01-23 20:38:54 +0100 |
commit | 908414af255ea974bd0cfe54918d7957cd457d15 (patch) | |
tree | 931152c6cf9f63212f627d91346f2ca4d3d4de41 /drivers/leds/leds-lp8860.c | |
parent | p54pci: add handling of signal case (diff) | |
download | linux-908414af255ea974bd0cfe54918d7957cd457d15.tar.xz linux-908414af255ea974bd0cfe54918d7957cd457d15.zip |
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/leds/leds-lp8860.c')
0 files changed, 0 insertions, 0 deletions