From: Joe Perches Date: Thu, 29 Nov 2012 19:37:18 +0000 (-0800) Subject: cifs: Remove unused cEVENT macro X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=176c9b3939d22bb1177eb15010e600bc59a1b0b5;p=openwrt%2Fstaging%2Fblogic.git cifs: Remove unused cEVENT macro It uses an undefined KERN_EVENT and is itself unused. Signed-off-by: Joe Perches Reviewed-by: Jeff Layton Signed-off-by: Steve French Signed-off-by: Steve French --- diff --git a/fs/cifs/cifs_debug.h b/fs/cifs/cifs_debug.h index c0c68bb492d7..b0fc344eb857 100644 --- a/fs/cifs/cifs_debug.h +++ b/fs/cifs/cifs_debug.h @@ -63,12 +63,6 @@ do { \ /* debug event message: */ extern int cifsERROR; -#define cEVENT(fmt, arg...) \ -do { \ - if (cifsERROR) \ - printk(KERN_EVENT "%s: " fmt "\n", __FILE__, ##arg); \ -} while (0) - /* error event message: e.g., i/o error */ #define cifserror(fmt, arg...) \ do { \ @@ -88,7 +82,6 @@ do { \ */ #else /* _CIFS_DEBUG */ #define cERROR(set, fmt, arg...) -#define cEVENT(fmt, arg...) #define cFYI(set, fmt, arg...) #define cifserror(fmt, arg...) #endif /* _CIFS_DEBUG */