Smatch reported issues with duplicated checks that could be removed.
Smatch also reported an issue where a variable was dereferenced without
a NULL check despite being an optional parameter.

Signed-off-by: Andrew Goodbody <andrew.goodb...@linaro.org>
---
Andrew Goodbody (2):
      mmc: gen_atmel_mci: Remove duplicate checks
      mmc: gen_atmel_mci: NULL check variable before use

 drivers/mmc/gen_atmel_mci.c | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)
---
base-commit: 182cb30084516c3085d2ca5dde3f105f7625d774
change-id: 20250729-gen_atmel_mci-b53a6662ac6c

Best regards,
-- 
Andrew Goodbody <andrew.goodb...@linaro.org>

Reply via email to