projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
943deb6
)
cifs: remove initialization value
author
Muhammad Usama Anjum
<usama.anjum@collabora.com>
Tue, 4 Oct 2022 06:23:32 +0000
(11:23 +0500)
committer
Steve French
<stfrench@microsoft.com>
Wed, 5 Oct 2022 22:42:39 +0000
(17:42 -0500)
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>
fs/cifs/smb2pdu.c
patch
|
blob
|
history
diff --git
a/fs/cifs/smb2pdu.c
b/fs/cifs/smb2pdu.c
index 90ccac18f9f3fad055ef7b56328a12fa08bffb96..40fce33763072a63f24c0e8384e361d479d1a965 100644
(file)
--- 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;