aboutsummaryrefslogtreecommitdiffstats
path: root/int10/i10_vbios.c
diff options
context:
space:
mode:
authorGwenolé Beauchesne <gbeauchesne@mandriva.org>2006-08-31 13:56:43 +0000
committerGwenolé Beauchesne <gbeauchesne@mandriva.org>2006-08-31 13:56:43 +0000
commit7111121ef0321ecc185eb0af571394e9ccdd8d38 (patch)
tree82ddb413daf2fdcd069da2612e39b8ed5848be9f /int10/i10_vbios.c
parent7eecc68d898db2170894c4170e492fbd59af6de3 (diff)
downloadmonitor-edid-7111121ef0321ecc185eb0af571394e9ccdd8d38.tar
monitor-edid-7111121ef0321ecc185eb0af571394e9ccdd8d38.tar.gz
monitor-edid-7111121ef0321ecc185eb0af571394e9ccdd8d38.tar.bz2
monitor-edid-7111121ef0321ecc185eb0af571394e9ccdd8d38.tar.xz
monitor-edid-7111121ef0321ecc185eb0af571394e9ccdd8d38.zip
remove dead code
Diffstat (limited to 'int10/i10_vbios.c')
-rw-r--r--int10/i10_vbios.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/int10/i10_vbios.c b/int10/i10_vbios.c
index 328ad84..5d12741 100644
--- a/int10/i10_vbios.c
+++ b/int10/i10_vbios.c
@@ -79,7 +79,7 @@ static sigjmp_buf longjmp_buf;
static void sigsegv_handler(int);
-int InitInt10(hd_data_t *hd_data, int pci_cfg_method)
+int InitInt10(hd_data_t *hd_data)
{
if(geteuid()) return -1;
@@ -97,14 +97,6 @@ int InitInt10(hd_data_t *hd_data, int pci_cfg_method)
return -1;
}
-#if 0
- scan_pci(pci_cfg_method);
-
- for(; CurrentPci; CurrentPci = CurrentPci->next) {
- if(CurrentPci->active) break;
- }
-#endif
-
iopl(0);
setup_int_vect();