]> 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)
commitc54dafa94ae83e5c1fc01f330210f28e36f0408e
treec30fccacb518a75445cc224cb9427d09286ca022
parente121a95379fa22ff3209163c8769a2cc9dd5bc6a
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