staging: brcm80211: Remove unnecessary assertions.
authorHenry Ptasinski <henryp@broadcom.com>
Fri, 1 Oct 2010 21:05:24 +0000 (14:05 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Oct 2010 16:25:15 +0000 (09:25 -0700)
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>
drivers/staging/brcm80211/sys/wlc_mac80211.c

index 2a4e68f1d9ba03ac3a9fba3d3f428cd52a7e8440..fed751b3d79c442416d061b7545267b912fe3916 100644 (file)
@@ -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));