[CIFS] cleanup old checkpatch warnings
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / fs / cifs / connect.c
index 8e2fa6d46c728ab9323c22b2fbce8194d295ce8d..7c2e5ea03305c1f9a0c0e39bdce629e82fcf52a1 100644 (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;