mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
258767fed9
commit
9b1904c7cf
|
@ -14,7 +14,6 @@
|
|||
*/
|
||||
|
||||
#define NR_PALETTE 256
|
||||
#define NR_RGB 2
|
||||
|
||||
#define FB_ACCEL_SMI_LYNX 88
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue