]> err.no Git - linux-2.6/commitdiff
[PATCH] prism54: Remove redundant assignment
authorDaniel Drake <dsd@gentoo.org>
Thu, 3 Nov 2005 22:45:02 +0000 (22:45 +0000)
committerJohn W. Linville <linville@tuxdriver.com>
Sun, 6 Nov 2005 02:00:02 +0000 (21:00 -0500)
The last patch I sent in ("prism54: Free skb after disabling
interrupts") included a redundant NULL assignment. Thanks to Herbert
Xu for pointing it out.

Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/prism54/islpci_eth.c

index 3b49efa37ee56050f3294304ad0ce0c8dd539d59..fc1eb35648329a5848f4076b5730b8ae48321c7e 100644 (file)
@@ -244,7 +244,6 @@ islpci_eth_transmit(struct sk_buff *skb, struct net_device *ndev)
        priv->statistics.tx_dropped++;
        spin_unlock_irqrestore(&priv->slock, flags);
        dev_kfree_skb(skb);
-       skb = NULL;
        return err;
 }