]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k/ath10k: remove unnecessary channel_switch_beacon callbacks
authorLuciano Coelho <luciano.coelho@intel.com>
Fri, 23 May 2014 08:04:50 +0000 (11:04 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 23 May 2014 08:31:45 +0000 (11:31 +0300)
commit3147671a2288501060871e2a3f4580e167fc2fba
treec30fccacb518a75445cc224cb9427d09286ca022
parent1d7748f1a81d78a28631ceabf226a7a86d25fe45
ath9k/ath10k: remove unnecessary channel_switch_beacon callbacks

The channel_switch_beacon callback is optional, so it doesn't have to
be defined if it's not going to do anything useful with it.  Both
ath9k and ath10k define the callback and just returns.  This commit
removes them.

Cc: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ath/ath9k/main.c