diff options
author | Yue Hu <huyue2@yulong.com> | 2021-01-15 11:45:06 +0800 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2021-02-01 11:54:46 +0100 |
commit | 783667ccb5b57cc81af2646b46f56ada05f0f0ae (patch) | |
tree | a0ff5f7182795f7368c712083ac0d4a119166835 /drivers/mmc/host/sdhci-pci-gli.c | |
parent | 1c148853e8eb433ec88cf0b9482376ec7814b599 (diff) |
mmc: core: remove redundant card null check to mmc_can_sleep()
Note that only _mmc_suspend() will call mmc_can_sleep(). And card is
checked before in mmc_can_poweroff_notify().
Signed-off-by: Yue Hu <huyue2@yulong.com>
Link: https://lore.kernel.org/r/20210115034506.646-1-zbestahu@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-pci-gli.c')
0 files changed, 0 insertions, 0 deletions