Skip to content

Commit

Permalink
staging: xgifb: eliminate pVBInfo->StResInfo
Browse files Browse the repository at this point in the history
Delete unused data.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Aaro Koskinen authored and Greg Kroah-Hartman committed Nov 13, 2012
1 parent e8e6c75 commit c705ea8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion drivers/staging/xgifb/vb_setmode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions drivers/staging/xgifb/vb_struct.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
8 changes: 0 additions & 8 deletions drivers/staging/xgifb/vb_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down

0 comments on commit c705ea8

Please sign in to comment.