Commit 1acc0b0b authored by Andrew Morton's avatar Andrew Morton Committed by
Browse files

[SCSI] cciss: kfree(NULL) is legal

parent 03fbcbcd
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -3251,7 +3251,6 @@ static int __devinit cciss_init_one(struct pci_dev *pdev,

clean4:
#ifdef CONFIG_CISS_SCSI_TAPE
	if(hba[i]->scsi_rejects.complete)
	kfree(hba[i]->scsi_rejects.complete);
#endif
	kfree(hba[i]->cmd_pool_bits);