From: Javier M. Mellid Date: Tue, 26 Jun 2012 04:00:14 +0000 (+0200) Subject: staging: sm7xxfb: dead code removal X-Git-Tag: v3.6-rc1~100^2~557 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9b1904c7cf2ff7e69ff2bbf2e0308a231e8064c2;p=platform%2Fkernel%2Flinux-3.10.git staging: sm7xxfb: dead code removal This patch removes dead code. Tested with SM712. Signed-off-by: Javier M. Mellid Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/sm7xxfb/sm7xx.h b/drivers/staging/sm7xxfb/sm7xx.h index 43d86f8..333f33c 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 32111a0..4c741e2 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;