diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-12-18 06:35:10 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2012-12-20 11:27:17 -0600 |
commit | 9acbd26b0a5ac4a3d52d31034feb3d935e39032a (patch) | |
tree | e12bbcbc4e8e755a71f818abd51e97ce4c1493d4 /fs/cifs/cifs_debug.h | |
parent | 2f2591a34db6c9361faa316c91a6e320cb4e6aee (diff) | |
download | op-kernel-dev-9acbd26b0a5ac4a3d52d31034feb3d935e39032a.zip op-kernel-dev-9acbd26b0a5ac4a3d52d31034feb3d935e39032a.tar.gz |
cifs: eliminate cifsERROR variable
It's always set to "1" and there's no way to change it to anything else.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifs_debug.h')
-rw-r--r-- | fs/cifs/cifs_debug.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/cifs/cifs_debug.h b/fs/cifs/cifs_debug.h index 86e92ef..69ae3d3 100644 --- a/fs/cifs/cifs_debug.h +++ b/fs/cifs/cifs_debug.h @@ -37,7 +37,6 @@ void dump_smb(void *, int); #define CIFS_TIMER 0x04 extern int cifsFYI; -extern int cifsERROR; /* * debug ON @@ -64,10 +63,7 @@ do { \ /* error event message: e.g., i/o error */ #define cifserror(fmt, ...) \ -do { \ - if (cifsERROR) \ - printk(KERN_ERR "CIFS VFS: " fmt "\n", ##__VA_ARGS__); \ -} while (0) + printk(KERN_ERR "CIFS VFS: " fmt "\n", ##__VA_ARGS__); \ #define cERROR(set, fmt, ...) \ do { \ |