diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-08-10 18:02:30 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-11 08:59:09 -0700 |
commit | a67ef278e24b1fe5ab8f5e8ef27f9654b91732de (patch) | |
tree | dbef61c3226194d95c93105ccb1a83774e74776e /drivers/s390 | |
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>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions