From: stsp Date: Wed, 5 Jan 2022 17:06:20 +0000 (+0000) Subject: Remove unused function arguments in iwm/iwx interrupt handlers. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4b907771f4dc0059d8159c436f07fb975c36cbe0;p=openbsd Remove unused function arguments in iwm/iwx interrupt handlers. pointed out by + ok millert@ --- diff --git a/sys/dev/pci/if_iwm.c b/sys/dev/pci/if_iwm.c index 4e24845cc29..3991c658770 100644 --- a/sys/dev/pci/if_iwm.c +++ b/sys/dev/pci/if_iwm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwm.c,v 1.387 2022/01/04 15:55:28 stsp Exp $ */ +/* $OpenBSD: if_iwm.c,v 1.388 2022/01/05 17:06:20 stsp Exp $ */ /* * Copyright (c) 2014, 2016 genua gmbh @@ -404,8 +404,7 @@ void iwm_rx_tx_cmd(struct iwm_softc *, struct iwm_rx_packet *, void iwm_clear_oactive(struct iwm_softc *, struct iwm_tx_ring *); void iwm_ampdu_rate_control(struct iwm_softc *, struct ieee80211_node *, struct iwm_tx_ring *, int, uint16_t, uint16_t); -void iwm_rx_compressed_ba(struct iwm_softc *, struct iwm_rx_packet *, - struct iwm_rx_data *); +void iwm_rx_compressed_ba(struct iwm_softc *, struct iwm_rx_packet *); void iwm_rx_bmiss(struct iwm_softc *, struct iwm_rx_packet *, struct iwm_rx_data *); int iwm_binding_cmd(struct iwm_softc *, struct iwm_node *, uint32_t); @@ -5765,8 +5764,7 @@ iwm_ampdu_rate_control(struct iwm_softc *sc, struct ieee80211_node *ni, } void -iwm_rx_compressed_ba(struct iwm_softc *sc, struct iwm_rx_packet *pkt, - struct iwm_rx_data *data) +iwm_rx_compressed_ba(struct iwm_softc *sc, struct iwm_rx_packet *pkt) { struct iwm_ba_notif *ban = (void *)pkt->data; struct ieee80211com *ic = &sc->sc_ic; @@ -10650,7 +10648,7 @@ iwm_rx_pkt(struct iwm_softc *sc, struct iwm_rx_data *data, struct mbuf_list *ml) break; case IWM_BA_NOTIF: - iwm_rx_compressed_ba(sc, pkt, data); + iwm_rx_compressed_ba(sc, pkt); break; case IWM_MISSED_BEACONS_NOTIFICATION: diff --git a/sys/dev/pci/if_iwx.c b/sys/dev/pci/if_iwx.c index a24a6208694..008c32b7825 100644 --- a/sys/dev/pci/if_iwx.c +++ b/sys/dev/pci/if_iwx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwx.c,v 1.131 2022/01/05 16:33:42 stsp Exp $ */ +/* $OpenBSD: if_iwx.c,v 1.132 2022/01/05 17:06:20 stsp Exp $ */ /* * Copyright (c) 2014, 2016 genua gmbh @@ -322,7 +322,7 @@ int iwx_ampdu_tx_start(struct ieee80211com *, struct ieee80211_node *, uint8_t); void iwx_rx_ba_session_expired(void *); void iwx_rx_bar_frame_release(struct iwx_softc *, struct iwx_rx_packet *, - struct iwx_rx_data *, struct mbuf_list *); + struct mbuf_list *); void iwx_reorder_timer_expired(void *); void iwx_sta_rx_agg(struct iwx_softc *, struct ieee80211_node *, uint8_t, uint16_t, uint16_t, int, int); @@ -2912,7 +2912,7 @@ iwx_rx_ba_session_expired(void *arg) void iwx_rx_bar_frame_release(struct iwx_softc *sc, struct iwx_rx_packet *pkt, - struct iwx_rx_data *data, struct mbuf_list *ml) + struct mbuf_list *ml) { struct ieee80211com *ic = &sc->sc_ic; struct ieee80211_node *ni = ic->ic_bss; @@ -4662,8 +4662,7 @@ iwx_clear_oactive(struct iwx_softc *sc, struct iwx_tx_ring *ring) } void -iwx_rx_compressed_ba(struct iwx_softc *sc, struct iwx_rx_packet *pkt, - struct iwx_rx_data *data) +iwx_rx_compressed_ba(struct iwx_softc *sc, struct iwx_rx_packet *pkt) { struct iwx_compressed_ba_notif *ba_res = (void *)pkt->data; struct ieee80211com *ic = &sc->sc_ic; @@ -8663,7 +8662,7 @@ iwx_rx_pkt(struct iwx_softc *sc, struct iwx_rx_data *data, struct mbuf_list *ml) } case IWX_BAR_FRAME_RELEASE: - iwx_rx_bar_frame_release(sc, pkt, data, ml); + iwx_rx_bar_frame_release(sc, pkt, ml); break; case IWX_TX_CMD: @@ -8671,7 +8670,7 @@ iwx_rx_pkt(struct iwx_softc *sc, struct iwx_rx_data *data, struct mbuf_list *ml) break; case IWX_BA_NOTIF: - iwx_rx_compressed_ba(sc, pkt, data); + iwx_rx_compressed_ba(sc, pkt); break; case IWX_MISSED_BEACONS_NOTIFICATION: