mmc: octeontx_hsmmc: Remove impossible test
authorAndrew Goodbody <andrew.goodbody@linaro.org>
Thu, 31 Jul 2025 10:51:22 +0000 (11:51 +0100)
committerStefan Roese <stefan.roese@mailbox.org>
Mon, 13 Oct 2025 14:13:21 +0000 (16:13 +0200)
commitbde84072d007629a75ff746f986b80e4cba5424e
tree3d0d73ce5418958f4958a0e7ae24aa7aeb1ba1ba
parent4b1b035e748de19e635b554401634d14c9a08448
mmc: octeontx_hsmmc: Remove impossible test

In octeontx_mmc_io_drive_setup drive and slew are tested for being less
than 0 but they are declared as uint fields so this test must always
fail. Just remove the test.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
drivers/mmc/octeontx_hsmmc.c