mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
mmc: via-sdmmc: Remove set-but-unused variable.
drivers/mmc/host/via-sdmmc.c: In function ‘via_reset_pcictrl’: drivers/mmc/host/via-sdmmc.c:805:8: warning: variable ‘addrbase’ set but not used [-Wunused-but-set-variable] Signed-off-by: Chris Ball <cjb@laptop.org> Cc: Harald Welte <HaraldWelte@viatech.com> Acked-by: Wolfram Sang <w.sang@pengutronix.de>
This commit is contained in:
parent
b3bd1b5b00
commit
e7054ba1f7
1 changed files with 0 additions and 3 deletions
|
@ -802,12 +802,9 @@ static const struct mmc_host_ops via_sdc_ops = {
|
|||
|
||||
static void via_reset_pcictrl(struct via_crdr_mmc_host *host)
|
||||
{
|
||||
void __iomem *addrbase;
|
||||
unsigned long flags;
|
||||
u8 gatt;
|
||||
|
||||
addrbase = host->pcictrl_mmiobase;
|
||||
|
||||
spin_lock_irqsave(&host->lock, flags);
|
||||
|
||||
via_save_pcictrlreg(host);
|
||||
|
|
Loading…
Reference in a new issue