i2c: qup: remove unneeded conversion to bool
authorJason Yan <yanaijie@huawei.com>
Mon, 20 Apr 2020 04:28:16 +0000 (12:28 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Sun, 26 Apr 2020 08:15:37 +0000 (10:15 +0200)
commit1b9e68533299253f5c7d87ccc4cd39ed0dccb37d
treeabb72ac05ee6590a169d3acd72b242e672497439
parentaef6f2e7cec184fac0ef50958b759e9605ed8128
i2c: qup: remove unneeded conversion to bool

The '>' expression itself is bool, no need to convert it to bool again.

Signed-off-by: Jason Yan <yanaijie@huawei.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-qup.c