From: Denys Vlasenko Date: Wed, 11 Aug 2010 01:02:30 +0000 (-0700) Subject: drivers/video/fbmem.c: simplify strlen()==0 check in fb_get_options() X-Git-Tag: v2.6.36-rc1~186 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a67ef278e24b1fe5ab8f5e8ef27f9654b91732de;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed