netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] : Remove unused variable pdev from drivers/net/r6040.c
       [not found] <ea11fea30901190529k6f12f4c1xed7295ccbf0dcefa@mail.gmail.com>
@ 2009-01-27  4:28 ` Manish Katiyar
  2009-01-27  5:54   ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Manish Katiyar @ 2009-01-27  4:28 UTC (permalink / raw)
  To: netdev, kernel-janitors, sten.wang, daniel, florian
  Cc: mkatiyar, David Miller, stable

[Adding david miller and stable@kernel.org in cc ]

Thanks -
Manish

On Mon, Jan 19, 2009 at 6:59 PM, Manish Katiyar <mkatiyar@gmail.com> wrote:
> Below patch removes the following compilation warning.
>
> drivers/net/r6040.c:441: warning: unused variable 'pdev'
>
>
> Signed-off-by : Manish Katiyar <mkatiyar@gmail.com>
> ---
>  drivers/net/r6040.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/r6040.c b/drivers/net/r6040.c
> index 72fd9e9..b2dcdb5 100644
> --- a/drivers/net/r6040.c
> +++ b/drivers/net/r6040.c
> @@ -438,7 +438,6 @@ static void r6040_down(struct net_device *dev)
>  {
>        struct r6040_private *lp = netdev_priv(dev);
>        void __iomem *ioaddr = lp->base;
> -       struct pci_dev *pdev = lp->pdev;
>        int limit = 2048;
>        u16 *adrp;
>        u16 cmd;
> --
> 1.5.4.3
>
>
> Thanks -
> Manish
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] : Remove unused variable pdev from drivers/net/r6040.c
  2009-01-27  4:28 ` [PATCH] : Remove unused variable pdev from drivers/net/r6040.c Manish Katiyar
@ 2009-01-27  5:54   ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2009-01-27  5:54 UTC (permalink / raw)
  To: mkatiyar; +Cc: netdev, kernel-janitors, sten.wang, daniel, florian, stable

From: Manish Katiyar <mkatiyar@gmail.com>
Date: Tue, 27 Jan 2009 09:58:11 +0530

> [Adding david miller and stable@kernel.org in cc ]

Applied, thanks Manish.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-27  5:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <ea11fea30901190529k6f12f4c1xed7295ccbf0dcefa@mail.gmail.com>
2009-01-27  4:28 ` [PATCH] : Remove unused variable pdev from drivers/net/r6040.c Manish Katiyar
2009-01-27  5:54   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).