diff options
author | Shirish Pargaonkar <shirishp@gmail.com> | 2008-07-24 15:56:05 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-07-24 15:56:05 +0000 |
commit | ef571cadd516e7ffcdeac6bb8054e5908fcccfcf (patch) | |
tree | 92238a391411fa5e054982d08af39e2207714c33 /fs/cifs/cifssmb.c | |
parent | b1910ad6222a705650dc991c003af43b94cdb3e1 (diff) | |
download | lwn-ef571cadd516e7ffcdeac6bb8054e5908fcccfcf.tar.gz lwn-ef571cadd516e7ffcdeac6bb8054e5908fcccfcf.zip |
[CIFS] Fix warnings from checkpatch
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifssmb.c')
-rw-r--r-- | fs/cifs/cifssmb.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index 7e175e1399d1..c621ffa2ca90 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c @@ -686,11 +686,10 @@ CIFSSMBNegotiate(unsigned int xid, struct cifsSesInfo *ses) SecurityBlob, count - 16, &server->secType); - if (rc == 1) { + if (rc == 1) rc = 0; - } else { + else rc = -EINVAL; - } } } else server->capabilities &= ~CAP_EXTENDED_SECURITY; |