diff options
author | Muhammad Usama Anjum <usama.anjum@collabora.com> | 2022-10-04 11:23:32 +0500 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-10-05 17:42:39 -0500 |
commit | f5823f5ee36040c2a8b8b36afe0783fe0bd7ad14 (patch) | |
tree | 8291ce64ba83727aa76782c38c17dc5b5f3c285f /fs | |
parent | 943deb6066538aeb5417eae5fdc222defdcb9949 (diff) | |
download | lwn-f5823f5ee36040c2a8b8b36afe0783fe0bd7ad14.tar.gz lwn-f5823f5ee36040c2a8b8b36afe0783fe0bd7ad14.zip |
cifs: remove initialization value
Don't initialize the rc as its value is being overwritten before its
use.
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/cifs/smb2pdu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c index 90ccac18f9f3..40fce3376307 100644 --- a/fs/cifs/smb2pdu.c +++ b/fs/cifs/smb2pdu.c @@ -873,7 +873,7 @@ SMB2_negotiate(const unsigned int xid, struct smb2_negotiate_rsp *rsp; struct kvec iov[1]; struct kvec rsp_iov; - int rc = 0; + int rc; int resp_buftype; int blob_offset, blob_length; char *security_blob; |