From: Petko Manolov <petkan@nucleusys.com>
To: Joe Perches <joe@perches.com>
Cc: Jiri Kosina <trivial@kernel.org>,
Petko Manolov <petkan@users.sourceforge.net>,
Greg Kroah-Hartman <gregkh@suse.de>,
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
Date: Tue, 16 Nov 2010 19:59:29 +0200 (EET) [thread overview]
Message-ID: <alpine.DEB.2.00.1011161958320.1392@gabi> (raw)
In-Reply-To: <66a3d7996e4ce8a84610237e86adf4b15a48514a.1289855436.git.joe@perches.com>
ACK! :-)
Petko
On Mon, 15 Nov 2010, Joe Perches wrote:
> Signed-off-by: Joe Perches <joe@perches.com>
> ---
> 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
>
>
next prev parent reply other threads:[~2010-11-16 16:39 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-15 21:12 [PATCH 00/10] Remove unnecessary casts of netdev_priv Joe Perches
2010-11-15 21:12 ` [PATCH 01/10] drivers/isdn/i4l: " Joe Perches
2010-11-17 18:39 ` David Miller
2010-11-15 21:12 ` [PATCH 02/10] drivers/net/bonding: " Joe Perches
2010-11-17 18:39 ` David Miller
2010-11-15 21:12 ` [PATCH 03/10] drivers/net/pcmcia: " Joe Perches
2010-11-17 18:39 ` David Miller
2010-11-15 21:12 ` [PATCH 04/10] drivers/net/qla3xxx.c: " Joe Perches
2010-11-17 18:39 ` David Miller
2010-11-15 21:12 ` [PATCH 05/10] drivers/net/qlge: " Joe Perches
2010-11-17 18:39 ` David Miller
[not found] ` <cover.1289855436.git.joe-6d6DIl74uiNBDgjK7y7TUQ@public.gmane.org>
2010-11-15 21:12 ` [PATCH 06/10] drivers/net/usb: " Joe Perches
2010-11-16 17:59 ` Petko Manolov [this message]
2010-11-17 18:45 ` David Miller
2010-11-18 7:24 ` Petko Manolov
[not found] ` <alpine.DEB.2.00.1011180918420.2169-dzx9CreErbMJK7zW1S5TsVaTQe2KTcn/@public.gmane.org>
2010-11-18 16:14 ` David Miller
2010-11-17 18:40 ` David Miller
2010-11-15 21:12 ` [PATCH 07/10] drivers/net/vxge: " Joe Perches
2010-11-15 22:51 ` Jon Mason
2010-11-17 18:44 ` David Miller
2010-11-15 21:12 ` [PATCH 08/10] drivers/net: " Joe Perches
2010-11-17 18:45 ` David Miller
2010-11-15 21:12 ` [PATCH 10/10] net/atm: " Joe Perches
2010-11-17 18:45 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.00.1011161958320.1392@gabi \
--to=petkan@nucleusys.com \
--cc=gregkh@suse.de \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=petkan@users.sourceforge.net \
--cc=trivial@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox