Skip to content

Commit f5823f5

Browse files
musamaanjumSteve French
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) <[email protected]> Signed-off-by: Muhammad Usama Anjum <[email protected]> Signed-off-by: Steve French <[email protected]>
1 parent 943deb6 commit f5823f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)