]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit300fa8bbf72e980448cd9e2489db4d94bb0cc912
tree34fcd72b534a31032033308ac8c4da1ecf5c999f
parentb41efd60b481c5d711469e0ef0245a36b9016047
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