mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 21:33:00 +00:00
staging: brcm80211: Remove unnecessary assertions.
Remove assertions on the size of several structures. These structures are never used anywhere. Signed-off-by: Henry Ptasinski <henryp@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
93ea8e6e39
commit
4594a934dc
@ -1788,22 +1788,14 @@ void *BCMATTACHFN(wlc_attach) (void *wl, uint16 vendor, uint16 device,
|
||||
ASSERT(sizeof(cck_phy_hdr_t) == D11_PHY_HDR_LEN);
|
||||
ASSERT(sizeof(d11txh_t) == D11_TXH_LEN);
|
||||
ASSERT(sizeof(d11rxhdr_t) == RXHDR_LEN);
|
||||
ASSERT(sizeof(struct dot11_llc_snap_header) == DOT11_LLC_SNAP_HDR_LEN);
|
||||
ASSERT(sizeof(struct dot11_header) == DOT11_A4_HDR_LEN);
|
||||
ASSERT(sizeof(struct dot11_rts_frame) == DOT11_RTS_LEN);
|
||||
ASSERT(sizeof(struct dot11_cts_frame) == DOT11_CTS_LEN);
|
||||
ASSERT(sizeof(struct dot11_ack_frame) == DOT11_ACK_LEN);
|
||||
ASSERT(sizeof(struct dot11_ps_poll_frame) == DOT11_PS_POLL_LEN);
|
||||
ASSERT(sizeof(struct dot11_cf_end_frame) == DOT11_CS_END_LEN);
|
||||
ASSERT(sizeof(struct dot11_management_header) == DOT11_MGMT_HDR_LEN);
|
||||
ASSERT(sizeof(struct dot11_auth) == DOT11_AUTH_FIXED_LEN);
|
||||
ASSERT(sizeof(struct dot11_bcn_prb) == DOT11_BCN_PRB_LEN);
|
||||
ASSERT(sizeof(tx_status_t) == TXSTATUS_LEN);
|
||||
ASSERT(sizeof(ht_add_ie_t) == HT_ADD_IE_LEN);
|
||||
ASSERT(sizeof(ht_cap_ie_t) == HT_CAP_IE_LEN);
|
||||
ASSERT(OFFSETOF(wl_scan_params_t, channel_list) ==
|
||||
WL_SCAN_PARAMS_FIXED_SIZE);
|
||||
ASSERT(TKIP_MIC_SIZE == (2 * sizeof(uint32)));
|
||||
ASSERT(ISALIGNED(OFFSETOF(wsec_key_t, data), sizeof(uint32)));
|
||||
ASSERT(ISPOWEROF2(MA_WINDOW_SZ));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user