1 --- a/drivers/net/wireless/ath/ath9k/debug.c
2 +++ b/drivers/net/wireless/ath/ath9k/debug.c
3 @@ -963,34 +963,6 @@ static ssize_t read_file_recv(struct fil
4 "%18s : %10u\n", "DECRYPT BUSY ERR",
5 sc->debug.stats.rxstats.decrypt_busy_err);
7 - len += snprintf(buf + len, size - len,
8 - "%18s : %10d\n", "RSSI-CTL0",
9 - sc->debug.stats.rxstats.rs_rssi_ctl0);
11 - len += snprintf(buf + len, size - len,
12 - "%18s : %10d\n", "RSSI-CTL1",
13 - sc->debug.stats.rxstats.rs_rssi_ctl1);
15 - len += snprintf(buf + len, size - len,
16 - "%18s : %10d\n", "RSSI-CTL2",
17 - sc->debug.stats.rxstats.rs_rssi_ctl2);
19 - len += snprintf(buf + len, size - len,
20 - "%18s : %10d\n", "RSSI-EXT0",
21 - sc->debug.stats.rxstats.rs_rssi_ext0);
23 - len += snprintf(buf + len, size - len,
24 - "%18s : %10d\n", "RSSI-EXT1",
25 - sc->debug.stats.rxstats.rs_rssi_ext1);
27 - len += snprintf(buf + len, size - len,
28 - "%18s : %10d\n", "RSSI-EXT2",
29 - sc->debug.stats.rxstats.rs_rssi_ext2);
31 - len += snprintf(buf + len, size - len,
32 - "%18s : %10d\n", "Rx Antenna",
33 - sc->debug.stats.rxstats.rs_antenna);
35 PHY_ERR("UNDERRUN", ATH9K_PHYERR_UNDERRUN);
36 PHY_ERR("TIMING", ATH9K_PHYERR_TIMING);
37 PHY_ERR("PARITY", ATH9K_PHYERR_PARITY);
38 @@ -1067,16 +1039,6 @@ void ath_debug_stat_rx(struct ath_softc
39 RX_PHY_ERR_INC(phyerr);
42 - sc->debug.stats.rxstats.rs_rssi_ctl0 = rs->rs_rssi_ctl0;
43 - sc->debug.stats.rxstats.rs_rssi_ctl1 = rs->rs_rssi_ctl1;
44 - sc->debug.stats.rxstats.rs_rssi_ctl2 = rs->rs_rssi_ctl2;
46 - sc->debug.stats.rxstats.rs_rssi_ext0 = rs->rs_rssi_ext0;
47 - sc->debug.stats.rxstats.rs_rssi_ext1 = rs->rs_rssi_ext1;
48 - sc->debug.stats.rxstats.rs_rssi_ext2 = rs->rs_rssi_ext2;
50 - sc->debug.stats.rxstats.rs_antenna = rs->rs_antenna;
52 spin_lock(&sc->debug.samp_lock);
53 RX_SAMP_DBG(jiffies) = jiffies;
54 RX_SAMP_DBG(rssi_ctl0) = rs->rs_rssi_ctl0;
55 --- a/drivers/net/wireless/ath/ath9k/debug.h
56 +++ b/drivers/net/wireless/ath/ath9k/debug.h
57 @@ -164,13 +164,6 @@ struct ath_rx_stats {
58 u32 post_delim_crc_err;
60 u32 phy_err_stats[ATH9K_PHYERR_MAX];
61 - int8_t rs_rssi_ctl0;
62 - int8_t rs_rssi_ctl1;
63 - int8_t rs_rssi_ctl2;
64 - int8_t rs_rssi_ext0;
65 - int8_t rs_rssi_ext1;
66 - int8_t rs_rssi_ext2;