diff options
author | Andrew Morton <akpm@osdl.org> | 2006-01-05 03:30:03 +0100 |
---|---|---|
committer | <jejb@mulgrave.il.steeleye.com> | 2006-02-28 05:55:06 +0100 |
commit | 1acc0b0ba409dcf4909890fb33e0829f7fd400be (patch) | |
tree | f4590439d51664e68745a8f427fae91b75b520ee /drivers/block/cciss.c | |
parent | [SCSI] drivers/message/fusion/mptfc.c: make 2 functions static (diff) | |
download | linux-1acc0b0ba409dcf4909890fb33e0829f7fd400be.tar.xz linux-1acc0b0ba409dcf4909890fb33e0829f7fd400be.zip |
[SCSI] cciss: kfree(NULL) is legal
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/block/cciss.c')
-rw-r--r-- | drivers/block/cciss.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c index 0d65394707db..b9c786ee6fad 100644 --- a/drivers/block/cciss.c +++ b/drivers/block/cciss.c @@ -3251,8 +3251,7 @@ 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); + kfree(hba[i]->scsi_rejects.complete); #endif kfree(hba[i]->cmd_pool_bits); if(hba[i]->cmd_pool) |