summaryrefslogtreecommitdiff
path: root/drivers/staging/brcm80211/brcmfmac/dhd_cdc.c
diff options
context:
space:
mode:
authorArend van Spriel <arend@broadcom.com>2011-01-21 11:20:07 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-01-21 12:06:54 -0800
commit072c35ada2fcb3fe925f0c1b3c2793010c3f1f86 (patch)
tree3a04e631479ca2a40ff093a96ce27849a54a9227 /drivers/staging/brcm80211/brcmfmac/dhd_cdc.c
parented3556d17ce1a3ff2d5eeb9c78a1fbfc3d5b564d (diff)
staging: brcm80211: remove unused function from dhd_cdc.c
Working through a list of unused functions in the driver tree. This file has following redundant function(s): dhd_proto_fcinfo Reviewed-by: Brett Rudley <brudley@broadcom.com> Reviewed-by: Henry Ptasinski <henryp@broadcom.com> Reviewed-by: Roland Vossen <rvossen@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/brcm80211/brcmfmac/dhd_cdc.c')
-rw-r--r--drivers/staging/brcm80211/brcmfmac/dhd_cdc.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/staging/brcm80211/brcmfmac/dhd_cdc.c b/drivers/staging/brcm80211/brcmfmac/dhd_cdc.c
index e491da071a74..09461e6f7c81 100644
--- a/drivers/staging/brcm80211/brcmfmac/dhd_cdc.c
+++ b/drivers/staging/brcm80211/brcmfmac/dhd_cdc.c
@@ -345,26 +345,6 @@ void dhd_prot_hdrpush(dhd_pub_t *dhd, int ifidx, struct sk_buff *pktbuf)
BDC_SET_IF_IDX(h, ifidx);
}
-bool dhd_proto_fcinfo(dhd_pub_t *dhd, struct sk_buff *pktbuf, u8 * fcbits)
-{
-#ifdef BDC
- struct bdc_header *h;
-
- if (pktbuf->len < BDC_HEADER_LEN) {
- DHD_ERROR(("%s: rx data too short (%d < %d)\n",
- __func__, pktbuf->len, BDC_HEADER_LEN));
- return BCME_ERROR;
- }
-
- h = (struct bdc_header *)(pktbuf->data);
-
- *fcbits = h->priority >> BDC_PRIORITY_FC_SHIFT;
- if ((h->flags2 & BDC_FLAG2_FC_FLAG) == BDC_FLAG2_FC_FLAG)
- return true;
-#endif
- return false;
-}
-
int dhd_prot_hdrpull(dhd_pub_t *dhd, int *ifidx, struct sk_buff *pktbuf)
{
#ifdef BDC