From: Tomi Valkeinen Date: Thu, 13 Dec 2012 10:17:08 +0000 (+0200) Subject: OMAPFB: remove silly loop in fb2display() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~2^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7e1eae537652330cec3fbf5f8f50000b2f24269;p=pandora-kernel.git OMAPFB: remove silly loop in fb2display() fb2display() has a for loop which always returns at the first iteration. Replace the loop with a simple if. This removes the smatch warning: drivers/video/omap2/omapfb/omapfb.h:153 fb2display() info: loop could be replaced with if statement. Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed