patch-2.4.26 linux-2.4.26/drivers/scsi/advansys.c
Next file: linux-2.4.26/drivers/scsi/eata_dma.c
Previous file: linux-2.4.26/drivers/pcmcia/yenta.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
2004-04-14 06:05:31.000000000 -0700
- Orig file:
linux-2.4.25/drivers/scsi/advansys.c
- Orig date:
2003-06-13 07:51:36.000000000 -0700
diff -urN linux-2.4.25/drivers/scsi/advansys.c linux-2.4.26/drivers/scsi/advansys.c
@@ -5551,7 +5551,7 @@
}
} else {
ADV_CARR_T *carrp;
- int req_cnt;
+ int req_cnt = 0;
adv_req_t *reqp = NULL;
int sg_cnt = 0;
@@ -9257,8 +9257,6 @@
PCI_DEVFN(ASC_PCI_ID2DEV(asc_dvc->cfg->pci_slot_info),
ASC_PCI_ID2FUNC(asc_dvc->cfg->pci_slot_info)),
offset, byte_data);
-#else /* CONFIG_PCI */
- return 0;
#endif /* CONFIG_PCI */
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)