net: ti: icssg: Remove impossible test
authorAndrew Goodbody <andrew.goodbody@linaro.org>
Wed, 6 Aug 2025 10:56:58 +0000 (11:56 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 15 Aug 2025 19:00:35 +0000 (13:00 -0600)
commit2a61c56dea1d7860d4a44afad3f54814ff0b805b
treee58b89222ec65d2028d6266ebfb4a341a0990c7e
parent1edd1fd539f52cadcb57c0c79c504f46f9540045
net: ti: icssg: Remove impossible test

port_id is an unsigned variable so cannot be negative. Remove the test
checking for port_id being less than 0.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
drivers/net/ti/icssg_prueth.c