ath11k: htc: remove unused struct ath11k_htc_ops
authorKalle Valo <kvalo@codeaurora.org>
Fri, 11 Dec 2020 17:35:44 +0000 (19:35 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 12 Dec 2020 04:41:25 +0000 (06:41 +0200)
No need for it so remove. Compile tested only.

Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1607708150-21066-5-git-send-email-kvalo@codeaurora.org
drivers/net/wireless/ath/ath11k/htc.h

index f0a3387..848147c 100644 (file)
@@ -221,10 +221,6 @@ enum ath11k_htc_ep_id {
        ATH11K_HTC_EP_COUNT,
 };
 
-struct ath11k_htc_ops {
-       void (*target_send_suspend_complete)(struct ath11k_base *ar);
-};
-
 struct ath11k_htc_ep_ops {
        void (*ep_tx_complete)(struct ath11k_base *, struct sk_buff *);
        void (*ep_rx_complete)(struct ath11k_base *, struct sk_buff *);
@@ -284,8 +280,6 @@ struct ath11k_htc {
        /* protects endpoints */
        spinlock_t tx_lock;
 
-       struct ath11k_htc_ops htc_ops;
-
        u8 control_resp_buffer[ATH11K_HTC_MAX_CTRL_MSG_LEN];
        int control_resp_len;