diff options
author | Guixin Liu <kanie@linux.alibaba.com> | 2022-08-02 10:18:49 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-08-12 05:11:18 +0300 |
commit | 8c499e49240bd93628368c3588975cfb94169b8b (patch) | |
tree | 89141871180f750f5c4c30280b57c36ce0e965f0 /drivers/scsi/3w-xxxx.h | |
parent | 6d17a112e9a63ff6a5edffd1676b99e0ffbcd269 (diff) | |
download | linux-8c499e49240bd93628368c3588975cfb94169b8b.tar.xz |
scsi: megaraid_sas: Fix double kfree()
When allocating log_to_span fails, kfree(instance->ctrl_context) is called
twice. Remove redundant call.
Link: https://lore.kernel.org/r/1659424729-46502-1-git-send-email-kanie@linux.alibaba.com
Acked-by: Sumit Saxena <sumit.saxena@broadcom.com>
Signed-off-by: Guixin Liu <kanie@linux.alibaba.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/3w-xxxx.h')
0 files changed, 0 insertions, 0 deletions