1 --- a/drivers/net/wireless/ath/ath9k/ar9002_mac.c
2 +++ b/drivers/net/wireless/ath/ath9k/ar9002_mac.c
3 @@ -28,11 +28,6 @@ static void ar9002_hw_set_desc_link(void
4 ((struct ath_desc*) ds)->ds_link = ds_link;
7 -static void ar9002_hw_get_desc_link(void *ds, u32 **ds_link)
9 - *ds_link = &((struct ath_desc *)ds)->ds_link;
12 static bool ar9002_hw_get_isr(struct ath_hw *ah, enum ath9k_int *masked)
15 @@ -437,7 +432,6 @@ void ar9002_hw_attach_mac_ops(struct ath
17 ops->rx_enable = ar9002_hw_rx_enable;
18 ops->set_desc_link = ar9002_hw_set_desc_link;
19 - ops->get_desc_link = ar9002_hw_get_desc_link;
20 ops->get_isr = ar9002_hw_get_isr;
21 ops->fill_txdesc = ar9002_hw_fill_txdesc;
22 ops->proc_txdesc = ar9002_hw_proc_txdesc;
23 --- a/drivers/net/wireless/ath/ath9k/ar9003_mac.c
24 +++ b/drivers/net/wireless/ath/ath9k/ar9003_mac.c
25 @@ -43,13 +43,6 @@ static void ar9003_hw_set_desc_link(void
26 ads->ctl10 |= ar9003_calc_ptr_chksum(ads);
29 -static void ar9003_hw_get_desc_link(void *ds, u32 **ds_link)
31 - struct ar9003_txc *ads = ds;
33 - *ds_link = &ads->link;
36 static bool ar9003_hw_get_isr(struct ath_hw *ah, enum ath9k_int *masked)
39 @@ -498,7 +491,6 @@ void ar9003_hw_attach_mac_ops(struct ath
41 ops->rx_enable = ar9003_hw_rx_enable;
42 ops->set_desc_link = ar9003_hw_set_desc_link;
43 - ops->get_desc_link = ar9003_hw_get_desc_link;
44 ops->get_isr = ar9003_hw_get_isr;
45 ops->fill_txdesc = ar9003_hw_fill_txdesc;
46 ops->proc_txdesc = ar9003_hw_proc_txdesc;
47 --- a/drivers/net/wireless/ath/ath9k/hw-ops.h
48 +++ b/drivers/net/wireless/ath/ath9k/hw-ops.h
49 @@ -39,11 +39,6 @@ static inline void ath9k_hw_set_desc_lin
50 ath9k_hw_ops(ah)->set_desc_link(ds, link);
53 -static inline void ath9k_hw_get_desc_link(struct ath_hw *ah, void *ds,
56 - ath9k_hw_ops(ah)->get_desc_link(ds, link);
58 static inline bool ath9k_hw_calibrate(struct ath_hw *ah,
59 struct ath9k_channel *chan,
61 --- a/drivers/net/wireless/ath/ath9k/hw.h
62 +++ b/drivers/net/wireless/ath/ath9k/hw.h
63 @@ -603,7 +603,6 @@ struct ath_hw_ops {
65 void (*rx_enable)(struct ath_hw *ah);
66 void (*set_desc_link)(void *ds, u32 link);
67 - void (*get_desc_link)(void *ds, u32 **link);
68 bool (*calibrate)(struct ath_hw *ah,
69 struct ath9k_channel *chan,