mac80211: remove unnecessary BUG_ON()
authorZhao, Gang <gamerh2o@gmail.com>
Mon, 21 Apr 2014 04:53:00 +0000 (12:53 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 25 Apr 2014 15:31:00 +0000 (17:31 +0200)
commit308f7fcfdba47f24cd70cba978fd10fb4584e61c
tree34fcd72b534a31032033308ac8c4da1ecf5c999f
parent6b59db7d4c4b0ad039a10b63b48e4a7ff3655902
mac80211: remove unnecessary BUG_ON()

The BUG_ON(!err) can't be triggered in the code path, so remove
it.

Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/sta_info.c