mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
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>
This commit is contained in:
parent
09ba47b44d
commit
e036771007
1 changed files with 0 additions and 1 deletions
|
@ -310,7 +310,6 @@ smb2_reconnect(__le16 smb2_command, struct cifs_tcon *tcon,
|
|||
case SMB2_READ:
|
||||
case SMB2_WRITE:
|
||||
case SMB2_LOCK:
|
||||
case SMB2_IOCTL:
|
||||
case SMB2_QUERY_DIRECTORY:
|
||||
case SMB2_CHANGE_NOTIFY:
|
||||
case SMB2_QUERY_INFO:
|
||||
|
|
Loading…
Reference in a new issue