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

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

diff -u --recursive --new-file v2.2.0-pre3/linux/drivers/scsi/eata_pio_proc.c linux/drivers/scsi/eata_pio_proc.c
@@ -26,7 +26,6 @@
 int eata_pio_proc_info(char *buffer, char **start, off_t offset, int length, 
 		       int hostno, int inout)
 {
-#ifdef CONFIG_PROC_FS
     Scsi_Device *scd;
     struct Scsi_Host *HBA_ptr;
     static u8 buff[512];
@@ -110,9 +109,6 @@
     DBG(DBG_PROC, printk("3pos: %ld offset: %ld len: %d\n", pos, offset, len));
     
     return (len);     
-#else
-    return 0;
-#endif        
 }
 
 /*

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