[CIFS] cleanup old checkpatch warnings

Signed-off-by: Steve French <sfrench@us.ibm.com>
This commit is contained in:
Steve French
2008-05-13 04:54:12 +00:00
parent ed5f037005
commit 582d21e5e3
5 changed files with 45 additions and 29 deletions

View File

@@ -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;