Skip to content

Commit

Permalink
cifs: Remove unused cEVENT macro
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Joe Perches authored and Steve French committed Dec 5, 2012
1 parent 6ee9542 commit 176c9b3
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions fs/cifs/cifs_debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 { \
Expand All @@ -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 */
Expand Down

0 comments on commit 176c9b3

Please sign in to comment.