]> git.baikalelectronics.ru Git - kernel.git/commit
carl9170: Remove redundant protection check
authorAndreea-Cristina Bernat <bernat.ada@gmail.com>
Fri, 22 Aug 2014 19:14:31 +0000 (22:14 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 28 Aug 2014 18:49:35 +0000 (14:49 -0400)
commit9acf817fe08a2f2889940624c558fdb86139d425
tree34a1d76a31f94c303bc21acbfb2a2f40b929e871
parentb3d80d53f400f7e872fd1148ac70a743e8467a5a
carl9170: Remove redundant protection check

The carl9170_op_ampdu_action() function is used only by the mac80211
framework.
Since the mac80211 already takes care of checks and properly serializing
calls to the driver's function there is no need for the driver to do the same
thing.

Signed-off-by: Andreea-Cristina Bernat <bernat.ada@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/carl9170/main.c