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

Commit 8518a9e2 authored by Henry Ptasinski's avatar Henry Ptasinski Committed by Greg Kroah-Hartman
Browse files

staging: brcm80211: Remove unnecessary assertions.



Remove assertions on the size of several structures.  These structures are
never used anywhere.

Signed-off-by: default avatarHenry Ptasinski <henryp@broadcom.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 47127f34
Loading
Loading
Loading
Loading
+0 −6
Original line number Original line Diff line number Diff line
@@ -175,12 +175,6 @@ ampdu_info_t *BCMATTACHFN(wlc_ampdu_attach) (wlc_info_t *wlc)
	int i;
	int i;


	/* some code depends on packed structures */
	/* some code depends on packed structures */
	ASSERT(sizeof(struct dot11_bar) == DOT11_BAR_LEN);
	ASSERT(sizeof(struct dot11_ba) == DOT11_BA_LEN + DOT11_BA_BITMAP_LEN);
	ASSERT(sizeof(struct dot11_ctl_header) == DOT11_CTL_HDR_LEN);
	ASSERT(sizeof(struct dot11_addba_req) == DOT11_ADDBA_REQ_LEN);
	ASSERT(sizeof(struct dot11_addba_resp) == DOT11_ADDBA_RESP_LEN);
	ASSERT(sizeof(struct dot11_delba) == DOT11_DELBA_LEN);
	ASSERT(DOT11_MAXNUMFRAGS == NBITS(uint16));
	ASSERT(DOT11_MAXNUMFRAGS == NBITS(uint16));
	ASSERT(ISPOWEROF2(AMPDU_TX_BA_MAX_WSIZE));
	ASSERT(ISPOWEROF2(AMPDU_TX_BA_MAX_WSIZE));
	ASSERT(ISPOWEROF2(AMPDU_RX_BA_MAX_WSIZE));
	ASSERT(ISPOWEROF2(AMPDU_RX_BA_MAX_WSIZE));