diff options
author | Javier M. Mellid <jmunhoz@igalia.com> | 2012-04-26 20:45:50 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-29 21:30:56 -0400 |
commit | d89954fa9b3db254d40136080e91f8ce19646345 (patch) | |
tree | b36380ee6e1c527e2c204d7f33bafc3f13844422 | |
parent | 86f3125b84b1b830c19ec733bcbea927590e635d (diff) |
staging: sm7xx: dead code removal
This patch remove dead code.
Tested with SM712.
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/sm7xx/smtcfb.c | 8 | ||||
-rw-r--r-- | drivers/staging/sm7xx/smtcfb.h | 6 |
2 files changed, 0 insertions, 14 deletions
diff --git a/drivers/staging/sm7xx/smtcfb.c b/drivers/staging/sm7xx/smtcfb.c index 39ba55868fac..abed491ef465 100644 --- a/drivers/staging/sm7xx/smtcfb.c +++ b/drivers/staging/sm7xx/smtcfb.c @@ -105,14 +105,6 @@ char __iomem *smtc_VRAMBaseAddress; /* video memory starting address */ static u32 colreg[17]; static struct par_info hw; /* hardware information */ -u16 smtc_ChipIDs[] = { - 0x710, - 0x712, - 0x720 -}; - -#define numSMTCchipIDs ARRAY_SIZE(smtc_ChipIDs) - static struct fb_var_screeninfo smtcfb_var = { .xres = 1024, .yres = 600, diff --git a/drivers/staging/sm7xx/smtcfb.h b/drivers/staging/sm7xx/smtcfb.h index ab95af2b9c07..70283a1e4d36 100644 --- a/drivers/staging/sm7xx/smtcfb.h +++ b/drivers/staging/sm7xx/smtcfb.h @@ -20,12 +20,6 @@ #define FB_ACCEL_SMI_LYNX 88 -#ifdef __BIG_ENDIAN -#define PC_VGA 0 -#else -#define PC_VGA 1 -#endif - #define SCREEN_X_RES 1024 #define SCREEN_Y_RES 600 #define SCREEN_BPP 16 |