lib/string.c: simplify strnstr()
authorAndré Goddard Rosa <andre.goddard@gmail.com>
Fri, 5 Mar 2010 21:43:12 +0000 (13:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Mar 2010 19:26:35 +0000 (11:26 -0800)
commitd6a2eedfddcded92c8f9b0ac022a99c4134696b0
tree6a0f38fbc74e839fc7712f8ebcb65cce75cdcc06
parenta11d2b64e1f2556953120d516241243ea365f0ae
lib/string.c: simplify strnstr()

Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Cc: Li Zefan <lizf@cn.fujitsu.com>
Cc: Joe Perches <joe@perches.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/string.c