smb2: clarify rc initialization in smb2_reconnect
authorSteve French <stfrench@microsoft.com>
Tue, 23 Nov 2021 00:31:03 +0000 (18:31 -0600)
committerSteve French <stfrench@microsoft.com>
Tue, 23 Nov 2021 16:07:00 +0000 (10:07 -0600)
commit350f4a562e1ffc2e4869e3083dc9b0ec4bca6c3a
tree076403427346676007661d04466e81988f6569d4
parent5112d80c162f456b3956dd4f5c58e9f0c6498516
smb2: clarify rc initialization in smb2_reconnect

It is clearer to initialize rc at the beginning of the function.

Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2pdu.c