drivers/video/imsttfb.c: setclkMHz: clk_p is always 0
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 SeedQuoted 7 lines · Adrian Bunk
The Coverity checker noticed that in the function setclkMHz in
drivers/video/imsttfb.c, the variableclk_pis never assigned a value other than 0.Could someone understanding this code decide whether this is a real bug or whether
clk_pcan be replaced by 0?
It does look like to be an oversight. The same is present in Xorg code too.
Tony