commit | c7e1eae537652330cec3fbf5f8f50000b2f24269 | [log] [tgz] |
---|---|---|
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | Thu Dec 13 12:17:08 2012 +0200 |
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | Thu Dec 13 12:18:24 2012 +0200 |
tree | d1752293bb9899b6817f307ad6215abfe42751fe | |
parent | fa0c5e71295fa4d62b900818d900c16980985e72 [diff] |
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 <tomi.valkeinen@ti.com>