Skip to contentSkip to conversation

: Remove unused variable pdev from drivers/net/r6040.c

PATCH Applied Florian Fainelli 3 participants 5 messages Jan 19, 2009 – Jan 27, 2009

Subsystems (3)
lore
Share & tools
lore

Florian Fainelli

author Acked-by
#0 lore raw

Le Monday 19 January 2009 14:29:53 Manish Katiyar, vous avez écrit :

Quoted 4 lines

Below patch removes the following compilation warning.

drivers/net/r6040.c:441: warning: unused variable 'pdev'

Good catch, thanks.

Quoted 2 lines
Signature · 8 lines
Best regards, Florian Fainelli
Email : [email protected]
http://openwrt.org
-------------------------------
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#1 lore raw

PATCH 1/1 : Remove unused variable pdev from drivers/net/r6040.c

Below patch removes the following compilation warning.

drivers/net/r6040.c:441: warning: unused variable 'pdev'

---
 drivers/net/r6040.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/net/r6040.c +0 -1
index 72fd9e9..b2dcdb5 100644
@@ -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;
Signature · 5 lines
1.5.4.3


Thanks -
Manish
#2 lore raw

[Adding david miller and [email protected] in cc ]

Thanks -
Manish

Quoted 29 lines · Manish Katiyar

Below patch removes the following compilation warning.

drivers/net/r6040.c:441: warning: unused variable 'pdev'

---
 drivers/net/r6040.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/net/r6040.c +0 -2
index 72fd9e9..b2dcdb5 100644
@@ -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

#4 lore raw
In reply to Florian Fainelli
Quoted 7 lines · Florian Fainelli

Le Monday 19 January 2009 14:29:53 Manish Katiyar, vous avez écrit :

Quoted 4 lines

Below patch removes the following compilation warning.

drivers/net/r6040.c:441: warning: unused variable 'pdev'

Good catch, thanks.

Hi Florian,

Will it automatically be picked up or will I have to send it again to Andrew ?

Thanks -
Manish

Quoted 11 lines
Quoted 3 lines

--
Best regards, Florian Fainelli
Email : [email protected]
http://openwrt.org
-------------------------------

--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html