diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2018-12-10 17:52:39 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2018-12-17 09:01:15 +0100 |
commit | 1217e61544922ab649fe4df94e2f272c01c159ea (patch) | |
tree | c1e5e103fd6f639eb18a63b79874684688927004 /drivers/mmc/core/block.c | |
parent | 01e421feec0817bb3141eaae4c517410d193d440 (diff) | |
download | linux-1217e61544922ab649fe4df94e2f272c01c159ea.tar.gz linux-1217e61544922ab649fe4df94e2f272c01c159ea.tar.bz2 linux-1217e61544922ab649fe4df94e2f272c01c159ea.zip |
mmc: core: Drop redundant check in mmc_send_hpi_cmd()
There is no point checking if HPI is supported in mmc_send_hpi_cmd() as
mmc_interrupt_hpi(), which is the only caller, already checks if HPI has
been enabled. Therefore, let's drop the check and the corresponding error
path.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/core/block.c')
0 files changed, 0 insertions, 0 deletions