lkml.org 
[lkml]   [2012]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 1/3] cifs: Remove unused cEVENT macro
    Date
    It uses an undefined KERN_EVENT and is itself unused.

    Signed-off-by: Joe Perches <joe@perches.com>
    ---
    fs/cifs/cifs_debug.h | 7 -------
    1 files changed, 0 insertions(+), 7 deletions(-)

    diff --git a/fs/cifs/cifs_debug.h b/fs/cifs/cifs_debug.h
    index c0c68bb..b0fc344 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 */
    --
    1.7.8.112.g3fd21


    \
     
     \ /
      Last update: 2012-11-29 21:01    [W:3.802 / U:0.104 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site