diff options
author | Guixin Liu <kanie@linux.alibaba.com> | 2022-08-02 15:19:00 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-08-11 22:13:18 -0400 |
commit | 7dd6f4af9482c319fa829583799e63e38967177d (patch) | |
tree | 6f8566cda1e493b195b62c6a2e1f25d22bfdcf03 /drivers/scsi/53c700.scr | |
parent | 8c499e49240bd93628368c3588975cfb94169b8b (diff) |
scsi: megaraid_sas: Remove unnecessary kfree()
When alloc ctrl mem fails, the reply_map will subsequently be freed in
megasas_free_ctrl_mem(). No need to free it in megasas_alloc_ctrl_mem().
Link: https://lore.kernel.org/r/1659424740-46918-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/53c700.scr')
0 files changed, 0 insertions, 0 deletions