drivers/video/fbmem.c: simplify strlen()==0 check in fb_get_options()
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 11 Aug 2010 01:02:30 +0000 (18:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Aug 2010 15:59:09 +0000 (08:59 -0700)
commita67ef278e24b1fe5ab8f5e8ef27f9654b91732de
treedbef61c3226194d95c93105ccb1a83774e74776e
parent26c5be3c750df6f8a9193d478905627ec75f7f41
drivers/video/fbmem.c: simplify strlen()==0 check in fb_get_options()

Replaced !strlen(str) check with !str[0].  Removed the variable which was
used solely to store strlen result.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/fbmem.c