diff options
author | Wei Yongjun <yjwei@cn.fujitsu.com> | 2009-04-08 18:16:38 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-13 18:44:35 -0400 |
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 0c02f1c2bd94..c220c9758d09 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) | |||
2309 | 2309 | ||
2310 | del_timer_sync(&ledtrig_tx_timer); | 2310 | del_timer_sync(&ledtrig_tx_timer); |
2311 | 2311 | ||
2312 | if (priv->rx_skb) | 2312 | kfree_skb(priv->rx_skb); |
2313 | kfree_skb(priv->rx_skb); | ||
2314 | 2313 | ||
2315 | usb_put_dev(priv->udev); | 2314 | usb_put_dev(priv->udev); |
2316 | 2315 | ||