projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
728a997
)
at76c50x-usb: remove pointless conditional before kfree_skb()
author
Wei Yongjun
<yjwei@cn.fujitsu.com>
Wed, 8 Apr 2009 22:16:38 +0000
(22:16 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 13 Apr 2009 22:44:35 +0000
(15:44 -0700)
Remove pointless conditional before kfree_skb().
Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireless/at76c50x-usb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/at76c50x-usb.c
b/drivers/net/wireless/at76c50x-usb.c
index 0c02f1c2bd94ae5d84f007521a16a9f1d1e60f8f..c220c9758d096bf32394ad3a07d5af93f9af0d30 100644
(file)
--- 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);