]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: remove redundant zero check on variable 'changed'
authorColin Ian King <colin.king@canonical.com>
Wed, 27 Mar 2019 18:35:45 +0000 (18:35 +0000)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 26 Apr 2019 11:02:11 +0000 (13:02 +0200)
commit88d6e51abf2fc61165642e4efd9fd7c7c13f5568
tree0cbf4c2d2835c27225638d039e73740420961480
parent93a7e6800ffe34edd8a6118bffd13a2789f37f00
cfg80211: remove redundant zero check on variable 'changed'

The zero check on variable changed is redundant as it must be
between 1 and 3 at the end of the proceeding if statement block.
Remove the redundant check.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/wext-compat.c