summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorBhaktipriya Shridhar <bhaktipriya96@gmail.com>2016-02-28 17:48:36 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-11 22:09:09 -0800
commit7288cadc199ebeb1e34237f999efa1368e4a3daf (patch)
treebc20081c18feed3c9e7143d24405328b7837ba59 /scripts
parent5a95f073b631ad8038c2f771b04bae737344df07 (diff)
downloadop-kernel-dev-7288cadc199ebeb1e34237f999efa1368e4a3daf.zip
op-kernel-dev-7288cadc199ebeb1e34237f999efa1368e4a3daf.tar.gz
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud