]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
MMC/H3: Removing unused variable and useless comment.
authorDavid Cohen <david.cohen@indt.org.br>
Fri, 14 Dec 2007 22:33:40 +0000 (18:33 -0400)
committerTony Lindgren <tony@atomide.com>
Sun, 16 Dec 2007 00:58:01 +0000 (16:58 -0800)
Removing unused variable and useless comment from
arch/arm/mach-omap1/board-h3-mmc.c file.

Signed-off-by: David Cohen <david.cohen@indt.org.br>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/board-h3-mmc.c

index 66ecc437928f98d13f0270c7a61691ac2175781b..9f98a3ab41ea18db1143dd5365b3c25cf3868c64 100644 (file)
@@ -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;
 }