Revert "scsi: aacraid: Fix double-free on probe failure"
This reverts commit 8a4b738d45
.
This commit is contained in:
parent
edc49ff64e
commit
8f5ba6f0d2
1 changed files with 0 additions and 2 deletions
|
@ -642,7 +642,6 @@ struct aac_dev *aac_init_adapter(struct aac_dev *dev)
|
|||
|
||||
if (aac_comm_init(dev)<0){
|
||||
kfree(dev->queues);
|
||||
dev->queues = NULL;
|
||||
return NULL;
|
||||
}
|
||||
/*
|
||||
|
@ -650,7 +649,6 @@ struct aac_dev *aac_init_adapter(struct aac_dev *dev)
|
|||
*/
|
||||
if (aac_fib_setup(dev) < 0) {
|
||||
kfree(dev->queues);
|
||||
dev->queues = NULL;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue