summaryrefslogtreecommitdiffstats
path: root/drivers/staging/xgifb
diff options
context:
space:
mode:
authorAaro Koskinen2012-11-04 20:15:01 +0100
committerGreg Kroah-Hartman2012-11-13 21:54:29 +0100
commitc705ea816585867d70903d9dbe3ecf64e368505a (patch)
tree8d51c22e8ad4760a55349f788c7078d845a19f48 /drivers/staging/xgifb
parentstaging: xgifb: eliminate pVBInfo->ModeResInfo (diff)
downloadkernel-qcow2-linux-c705ea816585867d70903d9dbe3ecf64e368505a.tar.gz
kernel-qcow2-linux-c705ea816585867d70903d9dbe3ecf64e368505a.tar.xz
kernel-qcow2-linux-c705ea816585867d70903d9dbe3ecf64e368505a.zip
staging: xgifb: eliminate pVBInfo->StResInfo
Delete unused data. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/xgifb')
-rw-r--r--drivers/staging/xgifb/vb_setmode.c1
-rw-r--r--drivers/staging/xgifb/vb_struct.h2
-rw-r--r--drivers/staging/xgifb/vb_table.h8
3 files changed, 0 insertions, 11 deletions
diff --git a/drivers/staging/xgifb/vb_setmode.c b/drivers/staging/xgifb/vb_setmode.c
index 3bc1ad216975..2ffa35e1e9dc 100644
--- a/drivers/staging/xgifb/vb_setmode.c
+++ b/drivers/staging/xgifb/vb_setmode.c
@@ -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;
diff --git a/drivers/staging/xgifb/vb_struct.h b/drivers/staging/xgifb/vb_struct.h
index b670213b4daa..8353f1692542 100644
--- a/drivers/staging/xgifb/vb_struct.h
+++ b/drivers/staging/xgifb/vb_struct.h
@@ -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;
diff --git a/drivers/staging/xgifb/vb_table.h b/drivers/staging/xgifb/vb_table.h
index 9c8b460786f1..381d07f7671e 100644
--- a/drivers/staging/xgifb/vb_table.h
+++ b/drivers/staging/xgifb/vb_table.h
@@ -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},