Skip to content

Commit

Permalink
staging: brcm80211: remove unneccessary packets funtion prototype
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arend van Spriel authored and Greg Kroah-Hartman committed Nov 29, 2010
1 parent 7c8bc01 commit b6eb5c0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions drivers/staging/brcm80211/include/bcmutils.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b6eb5c0

Please sign in to comment.