[PATCH 0/2] wifi: ath: Remove unused struct ieee80211_ops *ops

Jeff Johnson quic_jjohnson at quicinc.com
Mon Nov 6 10:21:03 PST 2023


Both ath11k and ath12k define the following:
	struct ieee80211_ops *ops;

This is being flagged by checkpatch.pl:
WARNING: struct ieee80211_ops should normally be const

But it turns out that in both cases this is unused, so remove it.

Signed-off-by: Jeff Johnson <quic_jjohnson at quicinc.com>
---
Jeff Johnson (2):
      wifi: ath11k: Remove struct ath11k::ops
      wifi: ath12k: Remove struct ath12k::ops

 drivers/net/wireless/ath/ath11k/core.h | 1 -
 drivers/net/wireless/ath/ath12k/core.h | 3 +--
 2 files changed, 1 insertion(+), 3 deletions(-)
---
base-commit: ac2f43d3d34e52b0d388b4c573ff6bbac90235b9
change-id: 20231103-ath12k-remove-ieee80211_ops-160d865e9ea4




More information about the ath11k mailing list