diff options
| author | Denys Vlasenko <[email protected]> | 2010-08-10 18:02:30 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-08-11 08:59:09 -0700 |
| commit | a67ef278e24b1fe5ab8f5e8ef27f9654b91732de (patch) | |
| tree | dbef61c3226194d95c93105ccb1a83774e74776e /scripts/patch-kernel | |
| 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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions