From 7d397d5961413f5da3ff259688c13bd7517c0ef9 Mon Sep 17 00:00:00 2001 From: ben Date: Sun, 1 Apr 2007 12:52:25 +0000 Subject: killed warnings in sis driver git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22885 b3059339-0415-0410-9bf9-f77b7e298cf2 --- vidix/sis_bridge.c | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'vidix/sis_bridge.c') diff --git a/vidix/sis_bridge.c b/vidix/sis_bridge.c index 5ff0a5991c..01a20002e3 100644 --- a/vidix/sis_bridge.c +++ b/vidix/sis_bridge.c @@ -70,7 +70,6 @@ static void sis_sense_30x(void) unsigned char testvga2_tempbl, testvga2_tempbh; unsigned char testvga2_tempcl, testvga2_tempch; int myflag, result = 0, i, j, haveresult; - unsigned short temp; inSISIDXREG(SISPART4, 0x0d, backupP4_0d); outSISIDXREG(SISPART4, 0x0d, (backupP4_0d | 0x04)); @@ -393,26 +392,6 @@ static void sis_detect_crt1(void) } } - -static void sis_detect_lcd(void) -{ - unsigned char CR32, CR36, CR37; - - if (!(sis_vbflags & VB_VIDEOBRIDGE)) { - return; - } - - inSISIDXREG(SISCR, 0x32, CR32); - - if (CR32 & 0x08) - sis_vbflags |= CRT2_LCD; - - /* DDC detection of LCD - not supported yet */ - - /* Get other misc info about LCD - not supported */ -} - - static void sis_detect_tv(void) { unsigned char SR16, SR38, CR32, CR38 = 0, CR79; -- cgit v1.2.3