commit | a67ef278e24b1fe5ab8f5e8ef27f9654b91732de | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Tue Aug 10 18:02:30 2010 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Aug 11 08:59:09 2010 -0700 |
tree | dbef61c3226194d95c93105ccb1a83774e74776e | |
parent | 26c5be3c750df6f8a9193d478905627ec75f7f41 [diff] |
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>