From 4594a934dcd8d147beb07edfb58eb3b4457b7399 Mon Sep 17 00:00:00 2001 From: Henry Ptasinski Date: Fri, 1 Oct 2010 14:05:24 -0700 Subject: [PATCH] staging: brcm80211: Remove unnecessary assertions. Remove assertions on the size of several structures. These structures are never used anywhere. Signed-off-by: Henry Ptasinski Signed-off-by: Greg Kroah-Hartman --- drivers/staging/brcm80211/sys/wlc_mac80211.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/staging/brcm80211/sys/wlc_mac80211.c b/drivers/staging/brcm80211/sys/wlc_mac80211.c index 2a4e68f1d9ba..fed751b3d79c 100644 --- a/drivers/staging/brcm80211/sys/wlc_mac80211.c +++ b/drivers/staging/brcm80211/sys/wlc_mac80211.c @@ -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)); -- 2.30.2