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>

authored by Jeff Layton and committed by Steve French 9acbd26b 2f2591a3

Changed files
+1 -6
fs
+1 -5
fs/cifs/cifs_debug.h
··· 37 37 #define CIFS_TIMER 0x04 38 38 39 39 extern int cifsFYI; 40 - extern int cifsERROR; 41 40 42 41 /* 43 42 * debug ON ··· 63 64 64 65 /* error event message: e.g., i/o error */ 65 66 #define cifserror(fmt, ...) \ 66 - do { \ 67 - if (cifsERROR) \ 68 - printk(KERN_ERR "CIFS VFS: " fmt "\n", ##__VA_ARGS__); \ 69 - } while (0) 67 + printk(KERN_ERR "CIFS VFS: " fmt "\n", ##__VA_ARGS__); \ 70 68 71 69 #define cERROR(set, fmt, ...) \ 72 70 do { \
-1
fs/cifs/cifsfs.c
··· 54 54 #endif 55 55 56 56 int cifsFYI = 0; 57 - int cifsERROR = 1; 58 57 int traceSMB = 0; 59 58 bool enable_oplocks = true; 60 59 unsigned int linuxExtEnabled = 1;