Commit 09a2e089 authored by Christian Lütke-Stetzkamp's avatar Christian Lütke-Stetzkamp Committed by Greg Kroah-Hartman

staging: mt7621-mmc: Remove unused global: msdc_6575_host

The mt6575_host variable is never used, only set and
exported. Removing it for code cleanup.
Signed-off-by: default avatarChristian Lütke-Stetzkamp <christian@lkamp.de>
Reviewed-by: default avatarNeilBrown <neil@brown.name>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e8f5f1c5
...@@ -154,7 +154,6 @@ static int cd_active_low = 1; ...@@ -154,7 +154,6 @@ static int cd_active_low = 1;
//#define PERI_MSDC2_PDN (17) //#define PERI_MSDC2_PDN (17)
//#define PERI_MSDC3_PDN (18) //#define PERI_MSDC3_PDN (18)
struct msdc_host *msdc_6575_host[] = {NULL, NULL, NULL, NULL};
#if 0 /* --- by chhung */ #if 0 /* --- by chhung */
/* gate means clock power down */ /* gate means clock power down */
static int g_clk_gate = 0; static int g_clk_gate = 0;
...@@ -2771,8 +2770,6 @@ static int msdc_drv_probe(struct platform_device *pdev) ...@@ -2771,8 +2770,6 @@ static int msdc_drv_probe(struct platform_device *pdev)
goto release_mem; goto release_mem;
} }
msdc_init_gpd_bd(host, &host->dma); msdc_init_gpd_bd(host, &host->dma);
/*for emmc*/
msdc_6575_host[pdev->id] = host;
#if 0 #if 0
tasklet_init(&host->card_tasklet, msdc_tasklet_card, (ulong)host); tasklet_init(&host->card_tasklet, msdc_tasklet_card, (ulong)host);
...@@ -2949,5 +2946,3 @@ module_exit(mt_msdc_exit); ...@@ -2949,5 +2946,3 @@ module_exit(mt_msdc_exit);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("MediaTek MT6575 SD/MMC Card Driver"); MODULE_DESCRIPTION("MediaTek MT6575 SD/MMC Card Driver");
MODULE_AUTHOR("Infinity Chen <infinity.chen@mediatek.com>"); MODULE_AUTHOR("Infinity Chen <infinity.chen@mediatek.com>");
EXPORT_SYMBOL(msdc_6575_host);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment