aboutsummaryrefslogtreecommitdiffstats
path: root/vbe.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 /vbe.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 'vbe.c')
-rw-r--r--vbe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/vbe.c b/vbe.c
index 5b3f87e..413ae2a 100644
--- a/vbe.c
+++ b/vbe.c
@@ -276,7 +276,6 @@ int get_edid__old(char *edid)
int get_edid(hd_data_t *hd_data, char *edid)
{
- int pci_config_type = 1; /* Determine PCI configuration type */
int ok = 0;
if (getuid() != 0) {
@@ -285,7 +284,7 @@ int get_edid(hd_data_t *hd_data, char *edid)
}
if (!box_is_xbox()) {
- if (InitInt10(hd_data, pci_config_type) == 0) {
+ if (InitInt10(hd_data) == 0) {
ok = vbe_check_vbe_info(hd_data)
&& vbe_get_edid_info(hd_data, edid);
FreeInt10();