projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9ce2ce
)
mmc: dw_mmc: Drop redundant call to ->card_event callback
author
Ulf Hansson
<ulf.hansson@linaro.org>
Wed, 3 Feb 2021 18:42:29 +0000
(19:42 +0100)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Tue, 30 Mar 2021 09:41:58 +0000
(11:41 +0200)
The ->card_event callback isn't being used by any of the dw_mmc variants.
It's likely a leftover from an earlier change, hence let's just drop the
redundant call to it.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/host/dw_mmc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/host/dw_mmc.c
b/drivers/mmc/host/dw_mmc.c
index 2f4de30f650b2833987d3d49ea95bf53bac0c501..3974525e6f6a7dc7a6bc7fba7e0cf2ab248171af 100644
(file)
--- a/
drivers/mmc/host/dw_mmc.c
+++ b/
drivers/mmc/host/dw_mmc.c
@@
-2606,8
+2606,6
@@
static void dw_mci_handle_cd(struct dw_mci *host)
{
struct dw_mci_slot *slot = host->slot;
- if (slot->mmc->ops->card_event)
- slot->mmc->ops->card_event(slot->mmc);
mmc_detect_change(slot->mmc,
msecs_to_jiffies(host->pdata->detect_delay_ms));
}