diff options
author | 2022-08-02 15:19:00 +0800 | |
---|---|---|
committer | 2022-08-11 22:13:18 -0400 | |
commit | 7dd6f4af9482c319fa829583799e63e38967177d (patch) | |
tree | 6f8566cda1e493b195b62c6a2e1f25d22bfdcf03 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | scsi: megaraid_sas: Fix double kfree() (diff) | |
download | linux-dev-7dd6f4af9482c319fa829583799e63e38967177d.tar.xz linux-dev-7dd6f4af9482c319fa829583799e63e38967177d.zip |
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 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions