]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Remove unused assignment statements
authorluo penghao <luo.penghao@zte.com.cn>
Thu, 4 Nov 2021 06:14:11 +0000 (06:14 +0000)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 26 Nov 2021 10:46:24 +0000 (11:46 +0100)
commita4ba493a263e76e8827fb07a406481635a3327a8
treebda80fb395ed8c85d634ef26b37a1826a90a574f
parentb635e1198e95fa7690b898701889b510ac205011
mac80211: Remove unused assignment statements

The assignment of these three local variables in the file will not
be used in the corresponding functions, so they should be deleted.

The clang_analyzer complains as follows:

net/mac80211/wpa.c:689:2 warning:
net/mac80211/wpa.c:883:2 warning:
net/mac80211/wpa.c:452:2 warning:

Value stored to 'hdr' is never read

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: luo penghao <luo.penghao@zte.com.cn>
Link: https://lore.kernel.org/r/20211104061411.1744-1-luo.penghao@zte.com.cn
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/wpa.c