Skip to content

Commit 6d7ffe1

Browse files
Yue Hustorulf
authored andcommitted
mmc: test: remove the shutdown function
Since it's doing nothing for shutdown behavior. And the callback will be checked firstly in mmc_bus_shutdown(). Signed-off-by: Yue Hu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
1 parent bd7342f commit 6d7ffe1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/mmc/core/mmc_test.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3267,17 +3267,12 @@ static void mmc_test_remove(struct mmc_card *card)
32673267
mmc_test_free_dbgfs_file(card);
32683268
}
32693269

3270-
static void mmc_test_shutdown(struct mmc_card *card)
3271-
{
3272-
}
3273-
32743270
static struct mmc_driver mmc_driver = {
32753271
.drv = {
32763272
.name = "mmc_test",
32773273
},
32783274
.probe = mmc_test_probe,
32793275
.remove = mmc_test_remove,
3280-
.shutdown = mmc_test_shutdown,
32813276
};
32823277

32833278
static int __init mmc_test_init(void)

0 commit comments

Comments
 (0)