Skip to contentSkip to conversation

drivers/video/imsttfb.c: setclkMHz: clk_p is always 0

DISCUSSION Adrian Bunk 1 participant 1 message Mar 22, 2005 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

The Coverity checker noticed that in the function setclkMHz in drivers/video/imsttfb.c, the variable clk_p is never assigned a value other than 0.

Could someone understanding this code decide whether this is a real bug or whether clk_p can be replaced by 0?

TIA
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed