Re: [PATCH] staging: rtl8192u: remove redundant variables

2018-06-08 Thread Dan Carpenter
On Fri, Jun 08, 2018 at 03:39:06PM +0800, Kenneth Lu wrote: > @@ -1017,7 +1016,6 @@ static void rtl8192_hard_data_xmit(struct sk_buff *skb, > struct net_device *dev, > *(struct net_device **)(skb->cb) = dev; > tcb_desc->bTxEnableFwCalcDur = 1; > skb_push(skb,

[PATCH] staging: rtl8192u: remove redundant variables

2018-06-08 Thread Kenneth Lu
Clean up W=1 warning: variable set but not used. Signed-off-by: Kenneth Lu --- drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c | 2 -- drivers/staging/rtl8192u/r8192U_core.c| 11 +-- drivers/staging/rtl8192u/r8192U_dm.c | 3 +-- 3 files changed, 2