Commit 5ae8b6b7 authored by Colin Ian King's avatar Colin Ian King Committed by Oded Gabbay
Browse files

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: default avatarColin Ian King <colin.i.king@intel.com>
Reviewed-by: default avatarOded Gabbay <ogabbay@kernel.org>
Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
parent 01f8cd0f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment