patch-2.2.0-pre4 linux/drivers/scsi/eata_dma_proc.c

Next file: linux/drivers/scsi/eata_pio_proc.c
Previous file: linux/drivers/scsi/aic7xxx.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre3/linux/drivers/scsi/eata_dma_proc.c linux/drivers/scsi/eata_dma_proc.c
@@ -69,8 +69,6 @@
 		   int hostno, int inout)
 {
 
-#ifdef CONFIG_PROC_FS
-
     Scsi_Device *scd, SDev;
     struct Scsi_Host *HBA_ptr;
     Scsi_Cmnd scmd;
@@ -469,9 +467,6 @@
     DBG(DBG_PROC, printk("3pos: %ld offset: %ld len: %d\n", pos, offset, len));
     
     return (len);     
-#else /* CONFIG_PROC_FS */
-    return 0;
-#endif        
 }
 
 /*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov