]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfb636e44e6b4d12be51170413334917517c18de0
tree076403427346676007661d04466e81988f6569d4
parent175b0ba31bc0d888c59fb859f9072ac436943ff2
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