From: Mohammed Shafi Shajakhan Date: Tue, 14 Feb 2012 13:09:18 +0000 (+0530) Subject: ath9k: remove obsolete comments X-Git-Tag: Ubuntu-5.2.0-15.16~18526^2~108^2~39^2~78 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=5ce3df64a4a2849a6fc616e5957b5188daaea631;p=mirror_ubuntu-eoan-kernel.git ath9k: remove obsolete comments the corresponding code/logic was removed in "ath9k: rework power state handling" Signed-off-by: Mohammed Shafi Shajakhan Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index ec82e926badc..22785c77d007 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c @@ -1587,12 +1587,6 @@ static int ath9k_config(struct ieee80211_hw *hw, u32 changed) ath9k_ps_wakeup(sc); mutex_lock(&sc->mutex); - /* - * Leave this as the first check because we need to turn on the - * radio if it was disabled before prior to processing the rest - * of the changes. Likewise we must only disable the radio towards - * the end. - */ if (changed & IEEE80211_CONF_CHANGE_IDLE) { sc->ps_idle = !!(conf->flags & IEEE80211_CONF_IDLE); if (sc->ps_idle)