mmc: gen_atmel_mci: Remove duplicate checks
authorAndrew Goodbody <andrew.goodbody@linaro.org>
Tue, 29 Jul 2025 16:16:16 +0000 (17:16 +0100)
committerEugen Hristev <eugen.hristev@linaro.org>
Wed, 13 Aug 2025 09:59:36 +0000 (12:59 +0300)
commit4fb189a58eacd8bac267f2f330b41e7700bcfa12
treed1e3f203201f5118fb372ea35bb13f3aa7f9c698
parentb824136ab4f743e09c81af531d430dbe6a2d92bf
mmc: gen_atmel_mci: Remove duplicate checks

Remove duplicate checks on status from mci_data_read and mci_data_write
which are guaranteed to be true as exiting the above do..while loop
above requires that to be so.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
drivers/mmc/gen_atmel_mci.c