From: Benjamin Berg The struct also contains nan_device_vif and that is the member that is being used. Signed-off-by: Benjamin Berg --- drivers/net/wireless/virtual/mac80211_hwsim.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/wireless/virtual/mac80211_hwsim.c b/drivers/net/wireless/virtual/mac80211_hwsim.c index 79cc63272134..dc0ef30f96b1 100644 --- a/drivers/net/wireless/virtual/mac80211_hwsim.c +++ b/drivers/net/wireless/virtual/mac80211_hwsim.c @@ -760,7 +760,6 @@ struct mac80211_hwsim_data { enum nl80211_band nan_curr_dw_band; struct hrtimer nan_timer; bool notify_dw; - struct ieee80211_vif *nan_vif; }; static const struct rhashtable_params hwsim_rht_params = { -- 2.51.1