]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mmc: core: Remove redundant null check
authorAvri Altman <avri.altman@sandisk.com>
Wed, 19 Mar 2025 20:36:42 +0000 (22:36 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 21 Mar 2025 08:48:37 +0000 (09:48 +0100)
commitc48e13e83513bd7eb4efffeeb562df9e4e1452d0
treeb28cb219aefadbceb6faa41545879e06feeab2ec
parent31e75ed964582257f59156ce6a42860e1ae4cc39
mmc: core: Remove redundant null check

This change removes a redundant null check found by Smatch.

Fixes: 403a0293f1c2 ("mmc: core: Add open-ended Ext memory addressing")
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/linux-mmc/345be6cd-f2f3-472e-a897-ca4b7c4cf826@stanley.mountain/
Signed-off-by: Avri Altman <avri.altman@sandisk.com>
Link: https://lore.kernel.org/r/20250319203642.778016-1-avri.altman@sandisk.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/core.c