Commit 6a386552 authored by David Cohen's avatar David Cohen Committed by Tony Lindgren

MMC/H3: Removing unused variable and useless comment.

Removing unused variable and useless comment from
arch/arm/mach-omap1/board-h3-mmc.c file.
Signed-off-by: default avatarDavid Cohen <david.cohen@indt.org.br>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent fe7175ec
......@@ -36,8 +36,6 @@ static int h3_mmc_set_power(struct device *dev, int slot, int power_on,
static int h3_mmc_set_bus_mode(struct device *dev, int slot, int bus_mode)
{
int ret = 0;
#ifdef CONFIG_MMC_DEBUG
dev_dbg(dev, "Set slot %d bus_mode %s\n", slot + 1,
bus_mode == MMC_BUSMODE_OPENDRAIN ? "open-drain" : "push-pull");
......@@ -47,8 +45,6 @@ static int h3_mmc_set_bus_mode(struct device *dev, int slot, int bus_mode)
return -ENODEV;
}
/* Treated on upper level */
return bus_mode;
}
......
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