[PATCH 320/510] staging: brcm80211: remove unneccessary packets funtion prototype
Greg Kroah-Hartman
gregkh at suse.de
Mon Jan 10 20:40:44 UTC 2011
From: Arend van Spriel <arend at broadcom.com>
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 at broadcom.com>
Signed-off-by: Arend van Spriel <arend at broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>
---
drivers/staging/brcm80211/include/bcmutils.h | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/brcm80211/include/bcmutils.h b/drivers/staging/brcm80211/include/bcmutils.h
index 4c1c111..632bceb 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);
--
1.7.3.2
More information about the devel
mailing list