summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorArend van Spriel <arend@broadcom.com>2010-11-23 14:06:22 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-11-29 11:37:01 -0800
commitb6eb5c0f71af22f7b44353a01241fff9a02997af (patch)
tree4ded8df532bdff6b80e68a0a11b9a198b9d4913f /drivers/staging
parent7c8bc0147f54ecb43f48d9e898ad7f85cb934db7 (diff)
staging: brcm80211: remove unneccessary packets funtion prototype
The prototype for function pktsegcnt in bmcutils.h is not defined nor used anywhere in the driver so it can be removed. Reviewed-by: Brett Rudley <brudley@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')
-rw-r--r--drivers/staging/brcm80211/include/bcmutils.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/staging/brcm80211/include/bcmutils.h b/drivers/staging/brcm80211/include/bcmutils.h
index 4c1c111bac9b..632bceb480cb 100644
--- a/drivers/staging/brcm80211/include/bcmutils.h
+++ b/drivers/staging/brcm80211/include/bcmutils.h
@@ -149,10 +149,9 @@
/* externs */
/* packet */
- extern uint pktfrombuf(struct osl_info *osh, void *p, uint offset,
- int len, unsigned char *buf);
- extern uint pktsegcnt(struct osl_info *osh, void *p);
- extern uint pkttotlen(struct osl_info *osh, void *p);
+ extern uint pktfrombuf(struct osl_info *osh, struct sk_buff *p,
+ uint offset, int len, unsigned char *buf);
+ extern uint pkttotlen(struct osl_info *osh, struct sk_buff *p);
/* ethernet address */
extern int bcm_ether_atoe(char *p, struct ether_addr *ea);