Skip to content
Commit a67ef278 authored by Denys Vlasenko's avatar Denys Vlasenko Committed by Linus Torvalds
Browse files

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: default avatarDenys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 26c5be3c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment