mbox series

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

Message ID 20231106-ath12k-remove-ieee80211_ops-v1-0-d72cef1a855b@quicinc.com (mailing list archive)
Headers show
Series wifi: ath: Remove unused struct ieee80211_ops *ops | expand

Message

Jeff Johnson Nov. 6, 2023, 6:21 p.m. UTC
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@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