Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab4ce114 authored by Christian Lütke-Stetzkamp's avatar Christian Lütke-Stetzkamp Committed by Greg Kroah-Hartman
Browse files

staging: mt7621-mmc: Remove unused static msdc_regs



The static variable msdc_regs is set once, but never used, so remove
it.

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 8f1c27c9
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -142,10 +142,6 @@
#define MAX_SGMT_SZ         (MAX_DMA_CNT)
#define MAX_REQ_SZ          (MAX_SGMT_SZ * 8)

#ifdef MT6575_SD_DEBUG
static struct msdc_regs *msdc_reg[HOST_MAX_NUM];
#endif

static int cd_active_low = 1;

//=================================
@@ -2364,10 +2360,6 @@ static void msdc_init_hw(struct msdc_host *host)
{
	void __iomem *base = host->base;

#ifdef MT6575_SD_DEBUG
	msdc_reg[host->id] = (struct msdc_regs *)host->base;
#endif

	/* Power on */
#if 0 /* --- by chhung */
	msdc_vcore_on(host);