spi: exynos: Remove extra term from test
authorAndrew Goodbody <andrew.goodbody@linaro.org>
Mon, 1 Sep 2025 15:13:14 +0000 (16:13 +0100)
committerMinkyu Kang <mk7.kang@samsung.com>
Wed, 3 Sep 2025 10:32:38 +0000 (19:32 +0900)
commit93c3404de9b2320bfd07cd3ce4ab0660f0d39523
tree4408f0a00c339415190e692ff057d560f7edb22d
parent949f71c13eafdaf699d4cb0ecdd6fa2950d7d01f
spi: exynos: Remove extra term from test

In spi_rx_tx there comes a test for execution of a code block that
allows execution if rxp is not NULL or stopping is true. However all the
code in this block relies on rxp being valid so allowing entry just if
stopping is true does not make sense. So remove this from the test
expression leaving just a NULL check for rxp.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
drivers/spi/exynos_spi.c