diff options
author | Wei Yongjun <yjwei@cn.fujitsu.com> | 2009-04-08 22:16:38 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-13 15:44:35 -0700 |
commit | 54cb2284dce50672c40248b8e95940318ec2ca41 (patch) | |
tree | 7c2f7b01c7bfc280c1ce956bd951aba0b127175a /drivers/net/wireless/at76c50x-usb.c | |
parent | 728a9972d1f290608e730b9ccec2061aa81f6609 (diff) |
at76c50x-usb: remove pointless conditional before kfree_skb()
Remove pointless conditional before kfree_skb().
Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/at76c50x-usb.c')
-rw-r--r-- | drivers/net/wireless/at76c50x-usb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/at76c50x-usb.c b/drivers/net/wireless/at76c50x-usb.c index 0c02f1c2bd9..c220c9758d0 100644 --- a/drivers/net/wireless/at76c50x-usb.c +++ b/drivers/net/wireless/at76c50x-usb.c @@ -2309,8 +2309,7 @@ static void at76_delete_device(struct at76_priv *priv) del_timer_sync(&ledtrig_tx_timer); - if (priv->rx_skb) - kfree_skb(priv->rx_skb); + kfree_skb(priv->rx_skb); usb_put_dev(priv->udev); |