From: Roland Vossen Date: Sun, 2 Oct 2011 17:14:27 +0000 (-0700) Subject: staging: brcm80211: removed unused smac tx ampdu packet queue X-Git-Tag: firefly_0821_release~3680^2~4313^2^2~262 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7983a5a7ff1a529a0317b8cdd9c6fab825554a7d;p=firefly-linux-kernel-4.4.55.git staging: brcm80211: removed unused smac tx ampdu packet queue A remnant of the past. Reviewed-by: Arend van Spriel Signed-off-by: Franky Lin Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/brcm80211/brcmsmac/main.c b/drivers/staging/brcm80211/brcmsmac/main.c index 4f79a42604e3..e6bd3cf3cd33 100644 --- a/drivers/staging/brcm80211/brcmsmac/main.c +++ b/drivers/staging/brcm80211/brcmsmac/main.c @@ -3358,8 +3358,6 @@ void brcms_c_init_scb(struct scb *scb) scb->seqctl_nonqos = 0xFFFF; scb->magic = SCB_MAGIC; - brcmu_pktq_init(&scb->scb_ampdu.txq, AMPDU_MAX_SCB_TID, - AMPDU_MAX_SCB_TID * PKTQ_LEN_DEFAULT); } /* d11 core init diff --git a/drivers/staging/brcm80211/brcmsmac/scb.h b/drivers/staging/brcm80211/brcmsmac/scb.h index 122d3c36f0c7..51c79c7239b7 100644 --- a/drivers/staging/brcm80211/brcmsmac/scb.h +++ b/drivers/staging/brcm80211/brcmsmac/scb.h @@ -51,7 +51,6 @@ struct scb_ampdu { u8 release; /* # of mpdus released at a time */ u16 min_len; /* min mpdu len to support the density */ u32 max_rx_ampdu_bytes; /* max ampdu rcv length; 8k, 16k, 32k, 64k */ - struct pktq txq; /* sdu transmit queue pending aggregation */ /* * This could easily be a ini[] pointer and we keep this info in wl