提交 600a710b 编写于 作者: A Aaro Koskinen 提交者: Greg Kroah-Hartman

staging: xgifb: delete bSkipSense

bSkipSense is always false, thus redundant.
Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 66c2458c
...@@ -388,7 +388,6 @@ unsigned char XGIInitNew(struct xgi_hw_device_info *HwDeviceExtension) ...@@ -388,7 +388,6 @@ unsigned char XGIInitNew(struct xgi_hw_device_info *HwDeviceExtension)
XGINew_SetReg1(pVBInfo->P3d4, 0x83, 0x00); XGINew_SetReg1(pVBInfo->P3d4, 0x83, 0x00);
printk("181"); printk("181");
if (HwDeviceExtension->bSkipSense == 0) {
printk("182"); printk("182");
XGI_SenseCRT1(pVBInfo); XGI_SenseCRT1(pVBInfo);
...@@ -416,7 +415,6 @@ unsigned char XGIInitNew(struct xgi_hw_device_info *HwDeviceExtension) ...@@ -416,7 +415,6 @@ unsigned char XGIInitNew(struct xgi_hw_device_info *HwDeviceExtension)
temp = GetXG27FPBits(pVBInfo); temp = GetXG27FPBits(pVBInfo);
XGINew_SetRegANDOR(pVBInfo->P3d4, 0x37, ~0x03, temp); XGINew_SetRegANDOR(pVBInfo->P3d4, 0x37, ~0x03, temp);
} }
}
printk("19"); printk("19");
if (HwDeviceExtension->jChipType >= XG40) { if (HwDeviceExtension->jChipType >= XG40) {
......
...@@ -82,8 +82,6 @@ struct xgi_hw_device_info ...@@ -82,8 +82,6 @@ struct xgi_hw_device_info
unsigned char bIntegratedMMEnabled;/* supporting integration MM enable */ unsigned char bIntegratedMMEnabled;/* supporting integration MM enable */
unsigned char bSkipSense;
unsigned char(*pQueryVGAConfigSpace)(struct xgi_hw_device_info *, unsigned char(*pQueryVGAConfigSpace)(struct xgi_hw_device_info *,
unsigned long, unsigned long, unsigned long, unsigned long,
unsigned long *); unsigned long *);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册