From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Antonino A. Daplas" Subject: Re: [Linux-fbdev-devel] drivers/video/imsttfb.c: setclkMHz: clk_p is always 0 Date: Sat, 07 Jan 2006 09:34:25 +0800 Message-ID: <43BF1AA1.8000702@gmail.com> References: <20060106162554.GJ12131@stusta.de> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060106162554.GJ12131@stusta.de> Sender: linux-kernel-owner@vger.kernel.org List-Id: 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