Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755151Ab0KPQjg (ORCPT ); Tue, 16 Nov 2010 11:39:36 -0500 Received: from lan.nucleusys.com ([78.83.248.164]:47077 "EHLO zztop.nucleusys.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754516Ab0KPQjf (ORCPT ); Tue, 16 Nov 2010 11:39:35 -0500 X-Greylist: delayed 2382 seconds by postgrey-1.27 at vger.kernel.org; Tue, 16 Nov 2010 11:39:35 EST Date: Tue, 16 Nov 2010 19:59:29 +0200 (EET) From: Petko Manolov X-X-Sender: petkan@gabi To: Joe Perches cc: Jiri Kosina , Petko Manolov , Greg Kroah-Hartman , linux-usb@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 06/10] drivers/net/usb: Remove unnecessary casts of netdev_priv In-Reply-To: <66a3d7996e4ce8a84610237e86adf4b15a48514a.1289855436.git.joe@perches.com> Message-ID: References: <66a3d7996e4ce8a84610237e86adf4b15a48514a.1289855436.git.joe@perches.com> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1184 Lines: 44 ACK! :-) Petko On Mon, 15 Nov 2010, Joe Perches wrote: > Signed-off-by: Joe Perches > --- > drivers/net/usb/pegasus.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/net/usb/pegasus.c b/drivers/net/usb/pegasus.c > index 6710f093..ef36676 100644 > --- a/drivers/net/usb/pegasus.c > +++ b/drivers/net/usb/pegasus.c > @@ -359,7 +359,7 @@ fail: > > static int mdio_read(struct net_device *dev, int phy_id, int loc) > { > - pegasus_t *pegasus = (pegasus_t *) netdev_priv(dev); > + pegasus_t *pegasus = netdev_priv(dev); > u16 res; > > read_mii_word(pegasus, phy_id, loc, &res); > @@ -397,7 +397,7 @@ fail: > > static void mdio_write(struct net_device *dev, int phy_id, int loc, int val) > { > - pegasus_t *pegasus = (pegasus_t *) netdev_priv(dev); > + pegasus_t *pegasus = netdev_priv(dev); > > write_mii_word(pegasus, phy_id, loc, val); > } > -- > 1.7.3.1.g432b3.dirty > > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/