cifs: Remove unused cEVENT macro
authorJoe Perches <joe@perches.com>
Thu, 29 Nov 2012 19:37:18 +0000 (11:37 -0800)
committerSteve French <smfrench@gmail.com>
Wed, 5 Dec 2012 19:27:31 +0000 (13:27 -0600)
It uses an undefined KERN_EVENT and is itself unused.

Signed-off-by: Joe Perches <joe@perches.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifs_debug.h

index c0c68bb492d7d98e43257bd4d433bf0676b06530..b0fc344eb8572a8aca30e34902bd98566347c32e 100644 (file)
@@ -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 */