diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-08-11 03:02:30 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-11 17:59:09 +0200 |
commit | a67ef278e24b1fe5ab8f5e8ef27f9654b91732de (patch) | |
tree | dbef61c3226194d95c93105ccb1a83774e74776e /drivers/video/Kconfig | |
parent | fbcon: uninline four foo_update_attr() functions (diff) | |
download | linux-a67ef278e24b1fe5ab8f5e8ef27f9654b91732de.tar.xz linux-a67ef278e24b1fe5ab8f5e8ef27f9654b91732de.zip |
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>
Diffstat (limited to 'drivers/video/Kconfig')
0 files changed, 0 insertions, 0 deletions