changeset 26880:60e75a146f45

Disable unused function, fixes the warning: tdfx_vid.c:292: warning: 'setup_fifo' defined but not used
author diego
date Wed, 28 May 2008 10:34:03 +0000
parents a14971e2bdcb
children 2b55444f1b60
files drivers/tdfx_vid.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/drivers/tdfx_vid.c	Wed May 28 10:25:09 2008 +0000
+++ b/drivers/tdfx_vid.c	Wed May 28 10:34:03 2008 +0000
@@ -289,6 +289,7 @@
   return 0;
 }
 
+#if 0
 static void setup_fifo(u32 offset,ssize_t pages) {
   long addr = agp_info.aper_base + offset;
   u32 size = pages | 0x700; // fifo on, in agp mem, disable hole cnt
@@ -307,6 +308,7 @@
   banshee_wait_idle();
   
 }
+#endif
 
 static int bump_fifo(u16 size) {