From: David Cohen Date: Fri, 14 Dec 2007 22:33:40 +0000 (-0400) Subject: MMC/H3: Removing unused variable and useless comment. X-Git-Tag: v2.6.24-omap1~104 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=6a386552d993b31a4a5473456c288450f5e87c77;p=linux-2.6-omap-h63xx.git 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: David Cohen Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap1/board-h3-mmc.c b/arch/arm/mach-omap1/board-h3-mmc.c index 66ecc437928..9f98a3ab41e 100644 --- a/arch/arm/mach-omap1/board-h3-mmc.c +++ b/arch/arm/mach-omap1/board-h3-mmc.c @@ -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; }