}
 
 static void XGI_SetSeqRegs(unsigned short ModeNo,
-                          unsigned short StandTableIndex,
                           unsigned short ModeIdIndex,
                           struct vb_device_info *pVBInfo)
 {
 }
 
 static void XGI_SetCRTCRegs(struct xgi_hw_device_info *HwDeviceExtension,
-                           unsigned short StandTableIndex,
                            struct vb_device_info *pVBInfo)
 {
        unsigned char CRTCdata;
 }
 
 static void XGI_SetATTRegs(unsigned short ModeNo,
-                          unsigned short StandTableIndex,
                           unsigned short ModeIdIndex,
                           struct vb_device_info *pVBInfo)
 {
        outb(0x20, pVBInfo->P3c0);
 }
 
-static void XGI_SetGRCRegs(unsigned short StandTableIndex,
-                          struct vb_device_info *pVBInfo)
+static void XGI_SetGRCRegs(struct vb_device_info *pVBInfo)
 {
        unsigned char GRdata;
        unsigned short i;
                unsigned short ModeNo, unsigned short ModeIdIndex,
                struct vb_device_info *pVBInfo)
 {
-       unsigned short StandTableIndex, RefreshRateTableIndex, temp;
+       unsigned short RefreshRateTableIndex, temp;
 
-       XGI_SetSeqRegs(ModeNo, StandTableIndex, ModeIdIndex, pVBInfo);
+       XGI_SetSeqRegs(ModeNo, ModeIdIndex, pVBInfo);
        outb(pVBInfo->StandTable->MISC, pVBInfo->P3c2);
-       XGI_SetCRTCRegs(HwDeviceExtension, StandTableIndex, pVBInfo);
-       XGI_SetATTRegs(ModeNo, StandTableIndex, ModeIdIndex, pVBInfo);
-       XGI_SetGRCRegs(StandTableIndex, pVBInfo);
+       XGI_SetCRTCRegs(HwDeviceExtension, pVBInfo);
+       XGI_SetATTRegs(ModeNo, ModeIdIndex, pVBInfo);
+       XGI_SetGRCRegs(pVBInfo);
        XGI_ClearExt1Regs(pVBInfo);
 
        if (HwDeviceExtension->jChipType == XG27) {