Skip to content
Commit c7e1eae5 authored by Tomi Valkeinen's avatar Tomi Valkeinen
Browse files

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: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent fa0c5e71
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment