projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03fbcbc
)
[SCSI] cciss: kfree(NULL) is legal
author
Andrew Morton
<akpm@osdl.org>
Thu, 5 Jan 2006 02:30:03 +0000
(18:30 -0800)
committer
<jejb@mulgrave.il.steeleye.com>
<>
Tue, 28 Feb 2006 04:55:06 +0000
(22:55 -0600)
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/block/cciss.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/cciss.c
b/drivers/block/cciss.c
index 0d65394707dbd5653057cfe1dbca6c94fdd98c47..b9c786ee6fad21fee1aa32db38369cfc37bd2266 100644
(file)
--- 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)