From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754598AbbCMOL3 (ORCPT ); Fri, 13 Mar 2015 10:11:29 -0400 Received: from vps0.lunn.ch ([178.209.37.122]:60671 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751624AbbCMOL0 (ORCPT ); Fri, 13 Mar 2015 10:11:26 -0400 Date: Fri, 13 Mar 2015 15:08:00 +0100 From: Andrew Lunn To: Ameen Ali Cc: jason@lakedaemon.net, sebastian.hesselbarth@gmail.com, linux@arm.linux.org.uk, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 7/7] common.c:105 Variable 'gephy' is never used. Message-ID: <20150313140800.GY7311@lunn.ch> References: <1426254264-5105-1-git-send-email-ameenali023@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1426254264-5105-1-git-send-email-ameenali023@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 13, 2015 at 03:44:24PM +0200, Ameen Ali wrote: > Variable 'gephy' is assigned a value that is never used. > > Signed-off-by : > --- > arch/arm/mach-dove/common.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/mach-dove/common.c b/arch/arm/mach-dove/common.c > index 0d1a892..115a413 100644 > --- a/arch/arm/mach-dove/common.c > +++ b/arch/arm/mach-dove/common.c > @@ -113,7 +113,7 @@ static void __init dove_clk_init(void) > orion_clkdev_add(NULL, "orion_spi.1", tclk); > orion_clkdev_add(NULL, "orion_wdt", tclk); > orion_clkdev_add(NULL, "mv64xxx_i2c.0", tclk); > - > + orion_clkdev_add(NULL,"mv643xx_eth_port.0",gephy); It looks like you have used spaces, not a tab? Other than that, this looks sensible. Andrew > orion_clkdev_add(NULL, "orion-ehci.0", usb0); > orion_clkdev_add(NULL, "orion-ehci.1", usb1); > orion_clkdev_add(NULL, "mv643xx_eth_port.0", ge); > -- > 2.1.0 >