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

Commit e71e940c authored by Arend van Spriel's avatar Arend van Spriel Committed by Greg Kroah-Hartman
Browse files

staging: brcm80211: removed unused inline function from wlc_ampdu.c



This file defined an inline function pkt_txh_seqnum() which was not
used and as such is removed.

Reviewed-by: default avatarBrett Rudley <brudley@broadcom.com>
Reviewed-by: default avatarHenry Ptasinski <henryp@broadcom.com>
Reviewed-by: default avatarRoland Vossen <rvossen@broadcom.com>
Signed-off-by: default avatarArend van Spriel <arend@broadcom.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 37779382
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -152,15 +152,6 @@ static void wlc_ampdu_dotxstatus_complete(struct ampdu_info *ampdu,
					  struct sk_buff *p, tx_status_t *txs,
					  u32 frmtxstatus, u32 frmtxstatus2);

static inline u16 pkt_txh_seqnum(struct wlc_info *wlc, struct sk_buff *p)
{
	d11txh_t *txh;
	struct ieee80211_hdr *h;
	txh = (d11txh_t *) p->data;
	h = (struct ieee80211_hdr *)((u8 *) (txh + 1) + D11_PHY_HDR_LEN);
	return ltoh16(h->seq_ctrl) >> SEQNUM_SHIFT;
}

struct ampdu_info *wlc_ampdu_attach(struct wlc_info *wlc)
{
	struct ampdu_info *ampdu;