fs: jffs2: Remove always true test
authorAndrew Goodbody <andrew.goodbody@linaro.org>
Thu, 2 Oct 2025 09:29:14 +0000 (10:29 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 10 Oct 2025 20:27:59 +0000 (14:27 -0600)
commit48f21e66e360552c75d70a50421d0e0ed1f59e90
treec0d7a47654bb3e230de15106d5ce9f07b7d27b08
parent87b7eaf3244e1a991404602c3422a4ce06bfae55
fs: jffs2: Remove always true test

Testing an unsigned variable to be >= 0 will always be true so remove
this redundant test.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
fs/jffs2/jffs2_1pass.c