]> 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)
commita3fe23e7b58bd3c9a5708fd6939e60b4c2df2543
tree076403427346676007661d04466e81988f6569d4
parent41786c10bad5be32e1493f49b7d906ab323118e4
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