wifi: ath12k: Remove struct ath12k::ops
authorJeff Johnson <quic_jjohnson@quicinc.com>
Mon, 6 Nov 2023 18:21:05 +0000 (10:21 -0800)
committerKalle Valo <quic_kvalo@quicinc.com>
Wed, 22 Nov 2023 18:24:11 +0000 (20:24 +0200)
commit3b6ec0409fe8c95e74fa64ee717fb7c7e6e9b32f
tree86f88bda216ad9fa876289d0d3a47894870830f7
parent199a78565cc2bf3fee530cade297e309de5a1f3a
wifi: ath12k: Remove struct ath12k::ops

Currently struct ath12k defines the following member:
struct ieee80211_ops *ops;

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

The original plan was to add the const qualifier.  However, it turns
out this is actually unused, so remove it.

No functional changes, compile tested only.

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20231106-ath12k-remove-ieee80211_ops-v1-2-d72cef1a855b@quicinc.com
drivers/net/wireless/ath/ath12k/core.h