staging: sm7xx: dead code removal
authorJavier M. Mellid <jmunhoz@igalia.com>
Thu, 26 Apr 2012 18:45:50 +0000 (20:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Apr 2012 01:30:56 +0000 (21:30 -0400)
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>
drivers/staging/sm7xx/smtcfb.c
drivers/staging/sm7xx/smtcfb.h

index 39ba55868fac8c47e7a196b9e6fe69f321589019..abed491ef465fe6d6b086179c40eab60db809004 100644 (file)
@@ -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,
index ab95af2b9c0793233c5cbc4fc56cfd29cac90532..70283a1e4d366ebbb7f9334cd4726eba95f35a23 100644 (file)
 
 #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