diff options
| author | Markus Elfring <elfring@users.sourceforge.net> | 2019-08-27 13:34:02 +0200 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-01-31 22:35:50 +1100 |
| commit | de060ac83e5c1fe5fb8c505a4e99c1fe4f70ff94 (patch) | |
| tree | 82f31bf477ddef43e37cee801ea400209c77dba8 /tools/perf/scripts/python | |
| parent | cxl: Reduce scope for the variable “mm” in cxllib_get_PE_attributes() (diff) | |
| download | linux-de060ac83e5c1fe5fb8c505a4e99c1fe4f70ff94.tar.gz linux-de060ac83e5c1fe5fb8c505a4e99c1fe4f70ff94.zip | |
powerpc/pseries: Delete an unnecessary kfree() call in dlpar_store()
A null pointer would be passed to a call of the function “kfree”
immediately after a call of the function “kstrdup” failed at one place.
Remove this superfluous function call.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Acked-by: Nathan Lynch <nathanl@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/b46cc4ff-a14c-0c10-0c0c-95573a960178@web.de
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
