mmc: test: remove the shutdown function
authorYue Hu <huyue2@yulong.com>
Tue, 19 Jan 2021 05:14:25 +0000 (13:14 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 1 Feb 2021 10:54:48 +0000 (11:54 +0100)
Since it's doing nothing for shutdown behavior. And the callback will
be checked firstly in mmc_bus_shutdown().

Signed-off-by: Yue Hu <huyue2@yulong.com>
Link: https://lore.kernel.org/r/20210119051425.305-1-zbestahu@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/mmc_test.c

index 152e7525ed338ea3c70691471359cc6dbfe1e6f0..f999b483549d0efa7997fff0cbe4c7b60e389f0c 100644 (file)
@@ -3267,17 +3267,12 @@ static void mmc_test_remove(struct mmc_card *card)
        mmc_test_free_dbgfs_file(card);
 }
 
-static void mmc_test_shutdown(struct mmc_card *card)
-{
-}
-
 static struct mmc_driver mmc_driver = {
        .drv            = {
                .name   = "mmc_test",
        },
        .probe          = mmc_test_probe,
        .remove         = mmc_test_remove,
-       .shutdown       = mmc_test_shutdown,
 };
 
 static int __init mmc_test_init(void)