IB/hfi1: Delete an unneeded bool conversion
authorZhen Lei <thunder.leizhen@huawei.com>
Mon, 10 May 2021 12:06:35 +0000 (20:06 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 11 May 2021 19:56:55 +0000 (16:56 -0300)
commit620ccaaa46d1fa9e6d15d78deaa37a4228772592
treeda209be4045a9b7ad9ad416fcdd82c4f55c9897f
parent7c6c2f5337b7fc77eed5b14636ef959c5873efdd
IB/hfi1: Delete an unneeded bool conversion

The result of an expression consisting of a single relational operator is
already of the bool type and does not need to be evaluated explicitly.

No functional change.

Link: https://lore.kernel.org/r/20210510120635.3636-1-thunder.leizhen@huawei.com
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hfi1/tid_rdma.c