Skip to content

Commit f5823f5

Browse files
Muhammad Usama Anjumsmfrench
authored andcommitted
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>
1 parent 943deb6 commit f5823f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/cifs/smb2pdu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ SMB2_negotiate(const unsigned int xid,
873873
struct smb2_negotiate_rsp *rsp;
874874
struct kvec iov[1];
875875
struct kvec rsp_iov;
876-
int rc = 0;
876+
int rc;
877877
int resp_buftype;
878878
int blob_offset, blob_length;
879879
char *security_blob;

0 commit comments

Comments
 (0)