scsi: hisi_sas: Drop free_irq() when devm_request_irq() failed
authorXiang Chen <chenxiang66@hisilicon.com>
Mon, 5 Aug 2019 13:48:08 +0000 (21:48 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 8 Aug 2019 02:13:15 +0000 (22:13 -0400)
commite16963f378faf82d307cad2796953f198497c614
tree78b34aa5d8444b6fb455928163db714b68caf9dc
parent5f6c32d7ce576e9275ab2e9b21192f5cd5f24273
scsi: hisi_sas: Drop free_irq() when devm_request_irq() failed

It will free irq automatically if devm_request_irq() failed, so drop
free_irq() if devm_request_irq() failed.

Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c