mac80211: Remove redundent assignment channel_type
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Thu, 13 Jan 2022 16:15:57 +0000 (00:15 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 4 Feb 2022 15:27:45 +0000 (16:27 +0100)
commitc761161851d31a6dc5274699cdf4e01de558cba9
treea8f381c0709bfea0404d9c46b0ff65a0ceaa4575
parent45d33746d2f2dd45d9b471e4d1ccb27e337fd2e8
mac80211: Remove redundent assignment channel_type

Fix the following coccicheck warnings:

net/mac80211/util.c:3265:3: warning: Value stored to 'channel_type' is
never read [clang-analyzer-deadcode.DeadStores].

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220113161557.129427-1-jiapeng.chong@linux.alibaba.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/util.c