Skip to content

Commit

Permalink
cifs: remove initialization value
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Muhammad Usama Anjum authored and Steve French committed Oct 5, 2022
1 parent 943deb6 commit f5823f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/cifs/smb2pdu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f5823f5

Please sign in to comment.