From: Dave Jones Not that this driver compiles, but coverity picked up this nonsense. If the pci_alloc_consistent fails, we go boom. Amusingly, after the ==NULL check, is an identical memset. Signed-off-by: Dave Jones Signed-off-by: Andrew Morton --- 25-akpm/drivers/scsi/cpqfcTScontrol.c | 1 - 1 files changed, 1 deletion(-) diff -puN drivers/scsi/cpqfcTScontrol.c~remove-bogus-memset-from-cpqfc-driver drivers/scsi/cpqfcTScontrol.c --- 25/drivers/scsi/cpqfcTScontrol.c~remove-bogus-memset-from-cpqfc-driver 2004-09-03 23:43:19.772219536 -0700 +++ 25-akpm/drivers/scsi/cpqfcTScontrol.c 2004-09-03 23:43:19.778218624 -0700 @@ -116,7 +116,6 @@ int CpqTsCreateTachLiteQues( void* pHBA, cpqfcHBAdata->fcLQ = pci_alloc_consistent(cpqfcHBAdata->PciDev, sizeof( FC_LINK_QUE), &cpqfcHBAdata->fcLQ_dma_handle); /* printk("@ %p (%u elements)\n", cpqfcHBAdata->fcLQ, FC_LINKQ_DEPTH); */ - memset( cpqfcHBAdata->fcLQ, 0, sizeof( FC_LINK_QUE)); if( cpqfcHBAdata->fcLQ == NULL ) // fatal error!! { _