brcm80211: util: remove function brcmu_format_hex() from brcmutil
The function brcmu_format_hex() filled a string buffer with byte values from a data buffer. The calling function used this string buffer in a printk. Now the calling function uses the kernel function print_hex_dump_bytes(). Reported-by: Johannes Berg <johannes@sipsolutions.net> Reviewed-by: Alwin Beukers <alwin@broadcom.com> Reviewed-by: Roland Vossen <rvossen@broadcom.com> Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
20e5ca1639
commit
09c7dfa0f0
@@ -178,16 +178,13 @@ extern uint brcmu_pkttotlen(struct sk_buff *p);
|
||||
/* ip address */
|
||||
struct ipv4_addr;
|
||||
|
||||
|
||||
/* externs */
|
||||
/* format/print */
|
||||
#ifdef BCMDBG
|
||||
extern void brcmu_prpkt(const char *msg, struct sk_buff *p0);
|
||||
#else
|
||||
#define brcmu_prpkt(a, b)
|
||||
#endif /* BCMDBG */
|
||||
|
||||
/* externs */
|
||||
/* format/print */
|
||||
#if defined(BCMDBG)
|
||||
extern int brcmu_format_hex(char *str, const void *bytes, int len);
|
||||
#endif
|
||||
|
||||
#endif /* _BRCMU_UTILS_H_ */
|
||||
|
Reference in New Issue
Block a user