diff options
author | Colin Ian King <colin.i.king@intel.com> | 2024-01-06 15:42:13 +0300 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2024-02-26 10:30:40 +0300 |
commit | 5ae8b6b774732d38840dd7562dc14d1950530023 (patch) | |
tree | 43430a8dc617beb413e9660c3deddf97667a1fc2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 01f8cd0fafa69c95aa67fa316a23977eb5a2cb50 (diff) | |
download | linux-5ae8b6b774732d38840dd7562dc14d1950530023.tar.xz |
accel/habanalabs/goya: remove redundant assignment to pointer 'input'
The pointer input is assigned a value that is not read, it is
being re-assigned again later with the same value. Resolve this
by moving the declaration to input into the if block.
Cleans up clang scan build warning:
warning: Value stored to 'input' during its initialization is never
read [deadcode.DeadStores]
Signed-off-by: Colin Ian King <colin.i.king@intel.com>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions