habanalabs/gaudi: remove redundant assignment to variable err
authorColin Ian King <colin.king@canonical.com>
Thu, 3 Jun 2021 13:12:10 +0000 (14:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jun 2021 12:51:53 +0000 (14:51 +0200)
commit432b6c56075071c5614beb895e4d9ba9fb378d3d
tree86c5c99d60cf36c84ffee3ca6974294c552f2610
parent8923557bd579f303088c1a20dc0b93669c7f8695
habanalabs/gaudi: remove redundant assignment to variable err

The variable err is being assigned a value that is never read, the
assignment is redundant and can be removed. Also remove some empty
lines.

Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Addresses-Coverity: ("Unused value")
Link: https://lore.kernel.org/r/20210603131210.84763-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/habanalabs/gaudi/gaudi.c