From: Rasmus Villemoes Date: Wed, 21 Jan 2015 11:52:07 +0000 (+0100) Subject: atmel: Remove open-coded and wrong strcasecmp X-Git-Tag: fixes-v4.0-rc1~150^2~130^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=908414af255ea974bd0cfe54918d7957cd457d15;p=pandora-kernel.git 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 Signed-off-by: Kalle Valo --- Reading git-diff-tree failed