diff options
author | Muhammad Usama Anjum <usama.anjum@collabora.com> | 2022-10-04 08:23:32 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-10-06 00:42:39 +0200 |
commit | f5823f5ee36040c2a8b8b36afe0783fe0bd7ad14 (patch) | |
tree | 8291ce64ba83727aa76782c38c17dc5b5f3c285f | |
parent | cifs: Replace a couple of one-element arrays with flexible-array members (diff) | |
download | linux-f5823f5ee36040c2a8b8b36afe0783fe0bd7ad14.tar.xz linux-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>
-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; |