From: Holger Schurig Date: Fri, 25 May 2007 04:07:38 +0000 (-0400) Subject: [PATCH] libertas: remove __FILE__ from debug output X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=42fff92aa53fd5903f318e16fbbcc9176403562c;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [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 80dd9ea19c8e..51050cf736b7 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 */