diff options
author | Colin Ian King <colin.i.king@intel.com> | 2024-01-06 12:42:13 +0000 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2024-02-26 09:30:40 +0200 |
commit | 5ae8b6b774732d38840dd7562dc14d1950530023 (patch) | |
tree | 43430a8dc617beb413e9660c3deddf97667a1fc2 /tools/perf/scripts/python/gecko.py | |
parent | 01f8cd0fafa69c95aa67fa316a23977eb5a2cb50 (diff) |
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/gecko.py')
0 files changed, 0 insertions, 0 deletions