linux/drivers/staging/rtl8192u
Bhaktipriya Shridhar 7288cadc19 staging: rtl8192u: ieee80211: Remove unused variables
The pointer *skb2 is declared 'globally' inside  ifdef NOT_YET.
It's used nowhere in the directory.
Another pointer *skb2 is declared 'locally', again inside another ifdef NOT_YET
in the function ieee80211_rx_frame_mgmt.
Hence, skb2 stays unused and has been removed.

This was done using Coccinelle:

@@ type T; identifier i; constant c; @@
-T i;
<... when != i
-i = c;
...>

Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-03-11 22:09:09 -08:00
..
ieee80211 staging: rtl8192u: ieee80211: Remove unused variables 2016-03-11 22:09:09 -08:00
authors
changes
copying
Kconfig
Makefile
r819xU_cmdpkt.c
r819xU_cmdpkt.h
r819xU_firmware_img.c
r819xU_firmware_img.h
r819xU_firmware.c
r819xU_firmware.h
r819xU_phy.c staging: rtl8192u: use to_delayed_work 2016-02-07 19:56:45 -08:00
r819xU_phy.h
r819xU_phyreg.h
r8180_93cx6.c
r8180_93cx6.h
r8190_rtl8256.c
r8190_rtl8256.h
r8192U_core.c Staging: rtl8192u: Clean up tests if NULL returned on failure 2016-03-11 22:09:09 -08:00
r8192U_dm.c Staging: rtl8192u: Convert long if-else block to switch-case 2016-02-20 15:09:57 -08:00
r8192U_dm.h
r8192U_hw.h
r8192U_wx.c staging: rtl8192u: Fix block comments use * on subsequent lines in r8192U_wx.c 2016-02-07 19:56:45 -08:00
r8192U_wx.h
r8192U.h