Skip to content

Commit

Permalink
staging: sm7xxfb: dead code removal
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Javier M. Mellid authored and Greg Kroah-Hartman committed Jun 26, 2012
1 parent 258767f commit 9b1904c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion drivers/staging/sm7xxfb/sm7xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
*/

#define NR_PALETTE 256
#define NR_RGB 2

#define FB_ACCEL_SMI_LYNX 88

Expand Down
4 changes: 0 additions & 4 deletions drivers/staging/sm7xxfb/sm7xxfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9b1904c

Please sign in to comment.