From: Jingoo Han Date: Fri, 22 Feb 2013 00:43:30 +0000 (-0800) Subject: backlight: ams369fg06: remove redundant variable 'before_power' X-Git-Tag: v3.9-rc1~114^2~87 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9023492b49b2a9506ae2f054167da02c71ef2b6;p=pandora-kernel.git backlight: ams369fg06: remove redundant variable 'before_power' 'before_power' was used to check the previous status when resume() is called. However, FB_BLANK_POWERDOWN was used in suspend() all the time, so there is no need to check the previous status. Also, redundant return variables are removed to reduce the code. Signed-off-by: Jingoo Han Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed