qcacld-3.0: Remove legacy get tx power command

Driver has a stats infrastructure and all the stats related
commands are using this infrastructure.

Remove legacy implementation for get tx power command
as part of cleanup.

Change-Id: Iabe21f09fb6621bf81bf0b0b2864e68f78a68f2a
CRs-Fixed: 2480244
diff --git a/core/hdd/src/wlan_hdd_power.c b/core/hdd/src/wlan_hdd_power.c
index 1b00303..54a95ae 100644
--- a/core/hdd/src/wlan_hdd_power.c
+++ b/core/hdd/src/wlan_hdd_power.c
@@ -2125,18 +2125,11 @@
 	return errno;
 }
 
-#ifdef QCA_SUPPORT_CP_STATS
 static void wlan_hdd_get_tx_power(struct hdd_adapter *adapter, int *dbm)
 {
 	wlan_cfg80211_mc_cp_stats_get_tx_power(adapter->vdev, dbm);
 }
-#else
-static void wlan_hdd_get_tx_power(struct hdd_adapter *adapter, int *dbm)
-{
-	wlan_hdd_get_class_astats(adapter);
-	*dbm = adapter->hdd_stats.class_a_stat.max_pwr;
-}
-#endif
+
 /**
  * __wlan_hdd_cfg80211_get_txpower() - get TX power
  * @wiphy: Pointer to wiphy