lib: vsprintf: useless strlen() removed
authorMichal Nazarewicz <mina86@mina86.com>
Tue, 10 Aug 2010 00:20:54 +0000 (17:20 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 10 Aug 2010 03:45:09 +0000 (20:45 -0700)
commit559b140a36613bb5b63f258b2ad833dad8cd11d9
tree5059f8a551b1cfb11f3a72f00b5f3ee584dd0a61
parente3f76e3386ee38e3654e81c2f3933ccca1f2d639
lib: vsprintf: useless strlen() removed

The strict_strtoul() and strict_strtoull() functions used strlen() to
check argument's length in a situation where it wasn't strictly necessary

Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Cc: "Yi Yang" <yi.y.yang@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/vsprintf.c