diff options
author | Adrian Huang <[email protected]> | 2020-12-10 10:13:30 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2021-01-27 12:31:09 +0100 |
commit | f8993dc666f44e802c705d1053c4491981413f9e (patch) | |
tree | 5b5d7348c4c444a410cfaf3b355106472cacab76 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 6ee1d745b7c9fd573fba142a2efdad76a9f1cb04 (diff) |
iommu/amd: Remove unnecessary assignment
From: Adrian Huang <[email protected]>
The values of local variables are assigned after local variables
are declared, so no need to assign the initial value during the
variable declaration.
And, no need to assign NULL for the local variable 'ivrs_base'
after invoking acpi_put_table().
Signed-off-by: Adrian Huang <[email protected]>
Acked-by: Will Deacon <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions