cifs: fix unneeded null check
authorSteve French <stfrench@microsoft.com>
Sat, 19 Jun 2021 17:01:37 +0000 (12:01 -0500)
committerSteve French <stfrench@microsoft.com>
Mon, 21 Jun 2021 02:28:17 +0000 (21:28 -0500)
commit3559134eccad022fc4a5a56910e8f7d38ab0d30d
tree5977583399cc99603bf9de4b0c43268a01cf216b
parent929be906fa83151c4c77c07cd3d780439d38b153
cifs: fix unneeded null check

tcon can not be null in SMB2_tcon function so the check
is not relevant and removing it makes Coverity happy.

Acked-by: Ronnie Sahlberg <lsahlber@redhat.com>
Addresses-Coverity: 13250131 ("Dereference before null check")
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2pdu.c