Parcourir la source

[PATCH] libertas: remove __FILE__ from debug output

Remove filename from debug output because it's way too long.

Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Holger Schurig il y a 18 ans
Parent
commit
42fff92aa5
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 4 4
      drivers/net/wireless/libertas/defs.h

+ 4 - 4
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 */