diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-12-13 14:17:08 +0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-12-13 14:18:24 +0400 |
commit | c7e1eae537652330cec3fbf5f8f50000b2f24269 (patch) | |
tree | d1752293bb9899b6817f307ad6215abfe42751fe /drivers/video/omap2/omapfb/Makefile | |
parent | fa0c5e71295fa4d62b900818d900c16980985e72 (diff) | |
download | linux-c7e1eae537652330cec3fbf5f8f50000b2f24269.tar.xz |
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>
Diffstat (limited to 'drivers/video/omap2/omapfb/Makefile')
0 files changed, 0 insertions, 0 deletions