habanalabs: remove redundant assignment to variable
authorOded Gabbay <oded.gabbay@gmail.com>
Wed, 12 Aug 2020 08:24:05 +0000 (11:24 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Tue, 22 Sep 2020 15:49:50 +0000 (18:49 +0300)
commit0358372bbe86705399490d82fb022aa34bdc2ee4
tree9e2361a11c53d5582aca78d3a9c640685fa5e8b5
parent65887291c6a80c3f2263348548899818b334cc8a
habanalabs: remove redundant assignment to variable

new_dma_pkt->ctl is assigned a value and then is reassigned a new value
without the first value ever being used.

Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Tomer Tayar <ttayar@habana.ai>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/misc/habanalabs/gaudi/gaudi.c