Message ID | 20210506041703.GA5681@user (mailing list archive) |
---|---|
State | Awaiting Upstream |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | net: mac80211: remove unused local variable | expand |
Context | Check | Description |
---|---|---|
netdev/cover_letter | success | Link |
netdev/fixes_present | success | Link |
netdev/patch_count | success | Link |
netdev/tree_selection | success | Guessed tree name to be net-next |
netdev/subject_prefix | warning | Target tree name not specified in the subject |
netdev/cc_maintainers | success | CCed 5 of 5 maintainers |
netdev/source_inline | success | Was 0 now: 0 |
netdev/verify_signedoff | success | Link |
netdev/module_param | success | Was 0 now: 0 |
netdev/build_32bit | success | Errors and warnings before: 0 this patch: 0 |
netdev/kdoc | success | Errors and warnings before: 10 this patch: 10 |
netdev/verify_fixes | success | Link |
netdev/checkpatch | warning | WARNING: line length of 83 exceeds 80 columns |
netdev/build_allmodconfig_warn | success | Errors and warnings before: 0 this patch: 0 |
netdev/header_inline | success | Link |
diff --git a/net/mac80211/agg-rx.c b/net/mac80211/agg-rx.c index cce28e3b2232..3075570e7968 100644 --- a/net/mac80211/agg-rx.c +++ b/net/mac80211/agg-rx.c @@ -471,8 +471,7 @@ static void __ieee80211_start_rx_ba_session(struct sta_info *sta, mutex_unlock(&sta->ampdu_mlme.mtx); } -void ieee80211_process_addba_request(struct ieee80211_local *local, - struct sta_info *sta, +void ieee80211_process_addba_request(struct sta_info *sta, struct ieee80211_mgmt *mgmt, size_t len) { diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 8fcbaa1eedf3..9e3e5aaddaf6 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -1859,8 +1859,7 @@ void ieee80211_process_addba_resp(struct ieee80211_local *local, struct sta_info *sta, struct ieee80211_mgmt *mgmt, size_t len); -void ieee80211_process_addba_request(struct ieee80211_local *local, - struct sta_info *sta, +void ieee80211_process_addba_request(struct sta_info *sta, struct ieee80211_mgmt *mgmt, size_t len); diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c index 7032a2b59249..4fe599bf9f9c 100644 --- a/net/mac80211/iface.c +++ b/net/mac80211/iface.c @@ -1351,8 +1351,8 @@ static void ieee80211_iface_work(struct work_struct *work) if (sta) { switch (mgmt->u.action.u.addba_req.action_code) { case WLAN_ACTION_ADDBA_REQ: - ieee80211_process_addba_request( - local, sta, mgmt, len); + ieee80211_process_addba_request(sta, + mgmt, len); break; case WLAN_ACTION_ADDBA_RESP: ieee80211_process_addba_resp(local, sta,
In ieee80211_process_addba_request() first argument is never used. Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com> --- net/mac80211/agg-rx.c | 3 +-- net/mac80211/ieee80211_i.h | 3 +-- net/mac80211/iface.c | 4 ++-- 3 files changed, 4 insertions(+), 6 deletions(-) -- 2.25.1