diff options
author | 2024-01-06 12:42:13 +0000 | |
---|---|---|
committer | 2024-02-26 09:30:40 +0200 | |
commit | 5ae8b6b774732d38840dd7562dc14d1950530023 (patch) | |
tree | 43430a8dc617beb413e9660c3deddf97667a1fc2 /certs | |
parent | accel/habanalabs/gaudi2: fail memory memset when failing to copy QM packet to... (diff) | |
download | linux-5ae8b6b774732d38840dd7562dc14d1950530023.tar.gz linux-5ae8b6b774732d38840dd7562dc14d1950530023.tar.bz2 linux-5ae8b6b774732d38840dd7562dc14d1950530023.zip |
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 'certs')
0 files changed, 0 insertions, 0 deletions