From: Holger Schurig Date: Fri, 25 May 2007 04:07:38 +0000 (-0400) Subject: [PATCH] libertas: remove __FILE__ from debug output X-Git-Tag: v2.6.22-rc5~44^2~2^2~66 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42fff92aa53fd5903f318e16fbbcc9176403562c;p=linux-2.6 [PATCH] libertas: remove __FILE__ from debug output Remove filename from debug output because it's way too long. Signed-off-by: Holger Schurig Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/libertas/defs.h b/drivers/net/wireless/libertas/defs.h index 80dd9ea19c..51050cf736 100644 --- a/drivers/net/wireless/libertas/defs.h +++ b/drivers/net/wireless/libertas/defs.h @@ -51,10 +51,10 @@ static inline void lbs_dbg_hex(char *prompt, u8 * buf, int len) #define lbs_dbg_hex(x,y,z) do {} while (0) #endif -#define ENTER() lbs_pr_debug(1, "Enter: %s, %s:%i\n", \ - __FUNCTION__, __FILE__, __LINE__) -#define LEAVE() lbs_pr_debug(1, "Leave: %s, %s:%i\n", \ - __FUNCTION__, __FILE__, __LINE__) +#define ENTER() lbs_pr_debug(1, "Enter: %s:%i\n", \ + __FUNCTION__, __LINE__) +#define LEAVE() lbs_pr_debug(1, "Leave: %s:%i\n", \ + __FUNCTION__, __LINE__) /** Buffer Constants */