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)
commitaecdc89fb4664c76baa4bbd46008f220532309ff
treec30fccacb518a75445cc224cb9427d09286ca022
parentafe5b7b4db0c95f22cdcbc02e0b021887faae277
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