cifs: get rid of dead check in smb2_reconnect()
authorPaulo Alcantara <pc@manguebit.com>
Wed, 29 Mar 2023 20:14:23 +0000 (17:14 -0300)
committerSteve French <stfrench@microsoft.com>
Thu, 30 Mar 2023 22:56:30 +0000 (17:56 -0500)
commite03677100707f849f01d8faf07ee58b4e56cdbf1
tree3bdf0cc692940b25dfa7b350c7a01085baf3803a
parent09ba47b44d26b475bbdf9c80db9e0193d2b58956
cifs: get rid of dead check in smb2_reconnect()

The SMB2_IOCTL check in the switch statement will never be true as we
return earlier from smb2_reconnect() if @smb2_command == SMB2_IOCTL.

Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2pdu.c