cifs: smb2 commands can not be negative, remove confusing check
authorSteve French <stfrench@microsoft.com>
Wed, 14 Nov 2018 07:37:39 +0000 (01:37 -0600)
committerSteve French <stfrench@microsoft.com>
Mon, 24 Dec 2018 04:37:23 +0000 (22:37 -0600)
commitf5942db5ef25531d53f2aa2ff84a46e1763b4196
tree15c514b78ef261f9595d0bf52dcdd0dc225026aa
parent0967e5457954370cc4e9902bd47b142e9655365f
cifs: smb2 commands can not be negative, remove confusing check

As Coverity points out le16_to_cpu(midEntry->Command) can not be
less than zero.

Detected by CoverityScan, CID#1438650 ("Macro compares unsigned to 0")

Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
fs/cifs/transport.c