Skip to content

Commit

Permalink
staging: sm7xx: dead code removal
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Javier M. Mellid authored and Greg Kroah-Hartman committed Apr 30, 2012
1 parent 86f3125 commit d89954f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
8 changes: 0 additions & 8 deletions drivers/staging/sm7xx/smtcfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
6 changes: 0 additions & 6 deletions drivers/staging/sm7xx/smtcfb.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d89954f

Please sign in to comment.