Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cc74c0c7 authored by Johannes Berg's avatar Johannes Berg
Browse files

mac80211: make ieee80211_beacon_connection_loss_work static



There's no need to declare the function in the
header file since it's only used in a single
place, so make it static.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 5bc1420b
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1430,7 +1430,6 @@ void ieee80211_sta_rx_notify(struct ieee80211_sub_if_data *sdata,
			     struct ieee80211_hdr *hdr);
void ieee80211_sta_tx_notify(struct ieee80211_sub_if_data *sdata,
			     struct ieee80211_hdr *hdr, bool ack);
void ieee80211_beacon_connection_loss_work(struct work_struct *work);

void ieee80211_wake_queues_by_reason(struct ieee80211_hw *hw,
				     enum queue_stop_reason reason);
+1 −1
Original line number Diff line number Diff line
@@ -1720,7 +1720,7 @@ static void __ieee80211_connection_loss(struct ieee80211_sub_if_data *sdata)
	mutex_unlock(&local->mtx);
}

void ieee80211_beacon_connection_loss_work(struct work_struct *work)
static void ieee80211_beacon_connection_loss_work(struct work_struct *work)
{
	struct ieee80211_sub_if_data *sdata =
		container_of(work, struct ieee80211_sub_if_data,