staging: xgifb: eliminate pVBInfo->StResInfo
authorAaro Koskinen <aaro.koskinen@iki.fi>
Sun, 4 Nov 2012 19:15:01 +0000 (21:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Nov 2012 20:54:29 +0000 (12:54 -0800)
Delete unused data.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/vb_setmode.c
drivers/staging/xgifb/vb_struct.h
drivers/staging/xgifb/vb_table.h

index 3bc1ad216975497f81adfa7c1951086d8e153070..2ffa35e1e9dc08efcf545ec00e5446919283fd57 100644 (file)
@@ -24,7 +24,6 @@ static const unsigned short XGINew_VGA_DAC[] = {
 void InitTo330Pointer(unsigned char ChipType, struct vb_device_info *pVBInfo)
 {
        pVBInfo->MCLKData = XGI340New_MCLKData;
-       pVBInfo->StResInfo = XGI330_StResInfo;
 
        pVBInfo->LCDResInfo = 0;
        pVBInfo->LCDTypeInfo = 0;
index b670213b4daaeff4e3bb5715ba7f6b7f07dd3f10..8353f16925422d7b0ba506595bf7ad8134d8faac 100644 (file)
@@ -178,8 +178,6 @@ struct vb_device_info {
        struct XGI_TimingHStruct TimingH;
        struct XGI_TimingVStruct TimingV;
 
-       struct SiS_StResInfo_S   *StResInfo;
-
        int ram_type;
        int ram_channel;
        int ram_bus;
index 9c8b460786f10b90563906e0f94985a93c5359a3..381d07f7671e8434374bbc882b167f426466b6fb 100644 (file)
@@ -2123,14 +2123,6 @@ static const unsigned char XGI330_ScreenOffset[] = {
        0x57, 0x48
 };
 
-static struct SiS_StResInfo_S XGI330_StResInfo[] = {
-       {640, 400},
-       {640, 350},
-       {720, 400},
-       {720, 350},
-       {640, 480}
-};
-
 static const struct SiS_ModeResInfo_S XGI330_ModeResInfo[] = {
        { 320,  200, 8,  8},
        { 320,  240, 8,  8},
This page took 0.028807 seconds and 5 git commands to generate.