linux/drivers/video/omap2/omapfb
Tomi Valkeinen c7e1eae537 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>
2012-12-13 12:18:24 +02:00
..
Kconfig OMAPFB: use dma_alloc_attrs to allocate memory 2012-11-13 09:52:24 +02:00
Makefile
omapfb-ioctl.c OMAPFB: simplify locking 2012-12-07 16:55:03 +02:00
omapfb-main.c OMAPFB: fix error handling in omapfb_find_best_mode() 2012-12-13 12:13:51 +02:00
omapfb-sysfs.c OMAPFB: simplify locking 2012-12-07 16:55:03 +02:00
omapfb.h OMAPFB: remove silly loop in fb2display() 2012-12-13 12:18:24 +02:00