diff options
author | Javier M. Mellid <jmunhoz@igalia.com> | 2012-06-26 06:00:14 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-26 15:03:54 -0700 |
commit | 9b1904c7cf2ff7e69ff2bbf2e0308a231e8064c2 (patch) | |
tree | b051dfae4fc076277d9f14a9be360858595ede24 /drivers/staging/sm7xxfb | |
parent | 258767fed9da230553d92e2d53f5f872d55795b1 (diff) |
staging: sm7xxfb: dead code removal
This patch removes dead code.
Tested with SM712.
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm7xxfb')
-rw-r--r-- | drivers/staging/sm7xxfb/sm7xx.h | 1 | ||||
-rw-r--r-- | drivers/staging/sm7xxfb/sm7xxfb.c | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/sm7xxfb/sm7xx.h b/drivers/staging/sm7xxfb/sm7xx.h index 43d86f873410..333f33c3dc66 100644 --- a/drivers/staging/sm7xxfb/sm7xx.h +++ b/drivers/staging/sm7xxfb/sm7xx.h @@ -14,7 +14,6 @@ */ #define NR_PALETTE 256 -#define NR_RGB 2 #define FB_ACCEL_SMI_LYNX 88 diff --git a/drivers/staging/sm7xxfb/sm7xxfb.c b/drivers/staging/sm7xxfb/sm7xxfb.c index 32111a011f66..4c741e2afd12 100644 --- a/drivers/staging/sm7xxfb/sm7xxfb.c +++ b/drivers/staging/sm7xxfb/sm7xxfb.c @@ -42,10 +42,6 @@ struct screen_info smtc_screen_info; struct smtcfb_info { struct fb_info fb; struct pci_dev *pdev; - struct { - u8 red, green, blue; - } palette[NR_RGB]; - u_int palette_size; u16 chipID; unsigned char __iomem *m_pMMIO; |