Skip to contentSkip to conversation

ath10k: fix double-prefixed functions

PATCH New Bartosz Markowski 2 participants 2 messages Apr 17, 2013 – Apr 18, 2013 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ath10k: fix double-prefixed functions

A few functions have been double-prefixed 'ath10k_ath10k_'.

---
 drivers/net/wireless/ath/ath10k/core.c |    4 ++--
 drivers/net/wireless/ath/ath10k/mac.c  |   10 +++++-----
 drivers/net/wireless/ath/ath10k/mac.h  |    6 +++---
 drivers/net/wireless/ath/ath10k/wmi.c  |    2 +-
 4 files changed, 11 insertions(+), 11 deletions(-)
drivers/net/wireless/ath/ath10k/core.c +2 -2
index 213c851..5bfee07 100644
@@ -499,7 +499,7 @@ struct ath10k *ath10k_core_create(void *hif_priv, struct device *dev,
 	init_completion(&ar->vdev_setup_done);
 	mutex_init(&ar->vdev_mtx);
 
-	setup_timer(&ar->scan.timeout, ath10k_ath10k_reset_scan, (unsigned long)ar);
+	setup_timer(&ar->scan.timeout, ath10k_reset_scan, (unsigned long)ar);
 
 	ar->workqueue = create_singlethread_workqueue("ath10k_wq");
 	if (!ar->workqueue)
@@ -512,7 +512,7 @@ struct ath10k *ath10k_core_create(void *hif_priv, struct device *dev,
 	init_waitqueue_head(&ar->peer_mapping_wq);
 
 	init_completion(&ar->offchan_tx_completed);
-	INIT_WORK(&ar->offchan_tx_work, ath10k_ath10k_offchan_tx_work);
+	INIT_WORK(&ar->offchan_tx_work, ath10k_offchan_tx_work);
 	skb_queue_head_init(&ar->offchan_tx_queue);
 
 #if defined(CONFIG_PM_SLEEP)
drivers/net/wireless/ath/ath10k/mac.c +5 -5
index 94b5334..1a3bbd8 100644
@@ -1280,7 +1280,7 @@ static void ath10k_tx_htt(struct ath10k *ar, struct sk_buff *skb)
 	}
 }
 
-void ath10k_ath10k_offchan_tx_purge(struct ath10k *ar)
+void ath10k_offchan_tx_purge(struct ath10k *ar)
 {
 	struct sk_buff *skb;
 
@@ -1293,7 +1293,7 @@ void ath10k_ath10k_offchan_tx_purge(struct ath10k *ar)
 	}
 }
 
-void ath10k_ath10k_offchan_tx_work(struct work_struct *work)
+void ath10k_offchan_tx_work(struct work_struct *work)
 {
 	struct ath10k *ar = container_of(work, struct ath10k, offchan_tx_work);
 	struct ath10k_peer *peer;
@@ -1369,7 +1369,7 @@ void ath10k_ath10k_offchan_tx_work(struct work_struct *work)
  * This may indicate the FW has hung and we need to abort the
  * scan manually to prevent cancel_hw_scan() from deadlocking
  */
-void ath10k_ath10k_reset_scan(unsigned long ptr)
+void ath10k_reset_scan(unsigned long ptr)
 {
 	struct ath10k *ar = (struct ath10k *)ptr;
 
@@ -1427,7 +1427,7 @@ static void ath10k_abort_scan(struct ath10k *ar)
 	if (ar->scan.in_progress) {
 		ath10k_warn("%s: could not stop scan (%d)\n", __func__, ret);
 		ar->scan.in_progress = false;
-		ath10k_ath10k_offchan_tx_purge(ar);
+		ath10k_offchan_tx_purge(ar);
 	}
 	spin_unlock_bh(&ar->scan.lock);
 }
@@ -1529,7 +1529,7 @@ static void ath10k_stop(struct ieee80211_hw *hw)
 
 	/* avoid leaks in case FW never confirms scan for offchannel */
 	cancel_work_sync(&ar->offchan_tx_work);
-	ath10k_ath10k_offchan_tx_purge(ar);
+	ath10k_offchan_tx_purge(ar);
 }
 
 static int ath10k_config(struct ieee80211_hw *hw, u32 changed)
drivers/net/wireless/ath/ath10k/mac.h +3 -3
index bc5225b..272ba74 100644
@@ -26,9 +26,9 @@ void ath10k_mac_destroy(struct ath10k *ar);
 int ath10k_mac_register(struct ath10k *ar);
 void ath10k_mac_unregister(struct ath10k *ar);
 struct ath10k_vif *ath10k_get_arvif(struct ath10k *ar, u32 vdev_id);
-void ath10k_ath10k_reset_scan(unsigned long ptr);
-void ath10k_ath10k_offchan_tx_purge(struct ath10k *ar);
-void ath10k_ath10k_offchan_tx_work(struct work_struct *work);
+void ath10k_reset_scan(unsigned long ptr);
+void ath10k_offchan_tx_purge(struct ath10k *ar);
+void ath10k_offchan_tx_work(struct work_struct *work);
 
 static inline struct ath10k_vif *ath10k_vif_to_arvif(struct ieee80211_vif *vif)
 {
drivers/net/wireless/ath/ath10k/wmi.c +1 -1
index 533e25f..261b995 100644
@@ -202,7 +202,7 @@ static int ath10k_wmi_event_scan(struct ath10k *ar, struct sk_buff *skb)
 		}
 
 		if (ar->scan.is_roc) {
-			ath10k_ath10k_offchan_tx_purge(ar);
+			ath10k_offchan_tx_purge(ar);
 
 			if (!ar->scan.aborting)
 				ieee80211_remain_on_channel_expired(ar->hw);
Signature · 1 line
1.7.10
Applied
#1 lore raw

PATCH 1/1 ath10k: fix double-prefixed functions

Quoted 3 lines · Bartosz Markowski

A few functions have been double-prefixed 'ath10k_ath10k_'.

Ouch, apparently I was sloppy when reviewing patches :)

Thanks, applied.

Signature · 1 line
Kalle Valo