atmel: Remove open-coded and wrong strcasecmp
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Wed, 21 Jan 2015 11:52:07 +0000 (12:52 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 23 Jan 2015 19:38:54 +0000 (21:38 +0200)
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>

No differences found
This page took 0.024273 seconds and 5 git commands to generate.