From: Venkatraman S Date: Tue, 7 Aug 2012 13:26:35 +0000 (+0530) Subject: mmc: omap: remove unused variables and includes X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2976837c6ea8c852389b99e6e1a6f91ccd21fba1;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git mmc: omap: remove unused variables and includes Get rid of some unnecessary includes in the driver and a few unused variables. Signed-off-by: Venkatraman S Acked-by: Felipe Balbi Signed-off-by: Chris Ball --- diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c index a5999a74496a..921cf3af8efe 100644 --- a/drivers/mmc/host/omap.c +++ b/drivers/mmc/host/omap.c @@ -27,18 +27,10 @@ #include #include #include -#include #include -#include -#include - -#include #include -#include #include -#include -#include #define OMAP_MMC_REG_CMD 0x00 #define OMAP_MMC_REG_ARGL 0x01 @@ -107,7 +99,6 @@ struct mmc_omap_slot { u16 saved_con; u16 bus_mode; unsigned int fclk_freq; - unsigned powered:1; struct tasklet_struct cover_tasklet; struct timer_list cover_timer; @@ -139,7 +130,6 @@ struct mmc_omap_host { unsigned int phys_base; int irq; unsigned char bus_mode; - unsigned char hw_bus_mode; unsigned int reg_shift; struct work_struct cmd_abort_work;