Re: [Linux-fbdev-devel] drivers/video/imsttfb.c: setclkMHz: clk_pis always 0

From: Antonino A. Daplas
Date: Sat Jan 07 2006 - 19:54:05 EST


Adrian Bunk wrote:
> 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?
>

It does look like to be an oversight. The same is present in Xorg code
too.

Tony

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/