Commit c705ea81 authored by Aaro Koskinen's avatar Aaro Koskinen Committed by Greg Kroah-Hartman

staging: xgifb: eliminate pVBInfo->StResInfo

Delete unused data.
Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e8e6c754
...@@ -24,7 +24,6 @@ static const unsigned short XGINew_VGA_DAC[] = { ...@@ -24,7 +24,6 @@ static const unsigned short XGINew_VGA_DAC[] = {
void InitTo330Pointer(unsigned char ChipType, struct vb_device_info *pVBInfo) void InitTo330Pointer(unsigned char ChipType, struct vb_device_info *pVBInfo)
{ {
pVBInfo->MCLKData = XGI340New_MCLKData; pVBInfo->MCLKData = XGI340New_MCLKData;
pVBInfo->StResInfo = XGI330_StResInfo;
pVBInfo->LCDResInfo = 0; pVBInfo->LCDResInfo = 0;
pVBInfo->LCDTypeInfo = 0; pVBInfo->LCDTypeInfo = 0;
......
...@@ -178,8 +178,6 @@ struct vb_device_info { ...@@ -178,8 +178,6 @@ struct vb_device_info {
struct XGI_TimingHStruct TimingH; struct XGI_TimingHStruct TimingH;
struct XGI_TimingVStruct TimingV; struct XGI_TimingVStruct TimingV;
struct SiS_StResInfo_S *StResInfo;
int ram_type; int ram_type;
int ram_channel; int ram_channel;
int ram_bus; int ram_bus;
......
...@@ -2123,14 +2123,6 @@ static const unsigned char XGI330_ScreenOffset[] = { ...@@ -2123,14 +2123,6 @@ static const unsigned char XGI330_ScreenOffset[] = {
0x57, 0x48 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[] = { static const struct SiS_ModeResInfo_S XGI330_ModeResInfo[] = {
{ 320, 200, 8, 8}, { 320, 200, 8, 8},
{ 320, 240, 8, 8}, { 320, 240, 8, 8},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment