diff options
author | Steve French <sfrench@us.ibm.com> | 2008-05-13 06:54:12 +0200 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-05-13 06:54:12 +0200 |
commit | 582d21e5e319d38c0485d8b9e92f6f2341f7c79b (patch) | |
tree | e552b4c26ab7af70e31f10dedc90a9ead8d27512 /fs/cifs/connect.c | |
parent | [CIFS] CIFSSMBPosixLock should return -EINVAL on error (diff) | |
download | linux-582d21e5e319d38c0485d8b9e92f6f2341f7c79b.tar.xz linux-582d21e5e319d38c0485d8b9e92f6f2341f7c79b.zip |
[CIFS] cleanup old checkpatch warnings
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r-- | fs/cifs/connect.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 8e2fa6d46c72..7c2e5ea03305 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c @@ -1820,7 +1820,7 @@ convert_delimiter(char *path, char delim) if (path == NULL) return; - if (delim == '/') + if (delim == '/') old_delim = '\\'; else old_delim = '/'; @@ -2321,9 +2321,10 @@ CIFSSessSetup(unsigned int xid, struct cifsSesInfo *ses, user = ses->userName; domain = ses->domainName; smb_buffer = cifs_buf_get(); - if (smb_buffer == NULL) { + + if (smb_buffer == NULL) return -ENOMEM; - } + smb_buffer_response = smb_buffer; pSMBr = pSMB = (SESSION_SETUP_ANDX *) smb_buffer; |