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>
This commit is contained in:
parent
2f2591a34d
commit
9acbd26b0a
2 changed files with 1 additions and 6 deletions
|
@ -37,7 +37,6 @@ void dump_smb(void *, int);
|
||||||
#define CIFS_TIMER 0x04
|
#define CIFS_TIMER 0x04
|
||||||
|
|
||||||
extern int cifsFYI;
|
extern int cifsFYI;
|
||||||
extern int cifsERROR;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* debug ON
|
* debug ON
|
||||||
|
@ -64,10 +63,7 @@ do { \
|
||||||
|
|
||||||
/* error event message: e.g., i/o error */
|
/* error event message: e.g., i/o error */
|
||||||
#define cifserror(fmt, ...) \
|
#define cifserror(fmt, ...) \
|
||||||
do { \
|
printk(KERN_ERR "CIFS VFS: " fmt "\n", ##__VA_ARGS__); \
|
||||||
if (cifsERROR) \
|
|
||||||
printk(KERN_ERR "CIFS VFS: " fmt "\n", ##__VA_ARGS__); \
|
|
||||||
} while (0)
|
|
||||||
|
|
||||||
#define cERROR(set, fmt, ...) \
|
#define cERROR(set, fmt, ...) \
|
||||||
do { \
|
do { \
|
||||||
|
|
|
@ -54,7 +54,6 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int cifsFYI = 0;
|
int cifsFYI = 0;
|
||||||
int cifsERROR = 1;
|
|
||||||
int traceSMB = 0;
|
int traceSMB = 0;
|
||||||
bool enable_oplocks = true;
|
bool enable_oplocks = true;
|
||||||
unsigned int linuxExtEnabled = 1;
|
unsigned int linuxExtEnabled = 1;
|
||||||
|
|
Loading…
Add table
Reference in a new issue