]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: remove some unused code
authorJohannes Berg <johannes.berg@intel.com>
Sun, 30 Sep 2012 15:08:35 +0000 (17:08 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 18 Oct 2012 07:01:56 +0000 (09:01 +0200)
commit775f4343d49e43357ef62a5800de7c58fc803691
tree0298dddd7f28a1ff01e5ea816c4cb9225fa336c7
parent1148b443f1c669c09dce9e4dca78e6671f9b58ee
mac80211: remove some unused code

There are a number of unused variables that gcc
pointed out (when building with W=1) as well as
some conditions that can never be true due to
the datatypes used: unsigned values can't be
less than zero. Remove this code.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/mlme.c
net/mac80211/rx.c
net/mac80211/tx.c