staging: brcm80211: remove unneccessary packets funtion prototype
authorArend van Spriel <arend@broadcom.com>
Tue, 23 Nov 2010 13:06:22 +0000 (14:06 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 29 Nov 2010 19:37:01 +0000 (11:37 -0800)
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>
drivers/staging/brcm80211/include/bcmutils.h

index 4c1c111bac9b938d8fce759df7a6979a9897d7a6..632bceb480cba437b18276abd9bbc050604b1df3 100644 (file)
 
 /* 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);