cnic: remove redundant assignment to variable ret
authorColin Ian King <colin.king@canonical.com>
Fri, 8 May 2020 22:40:26 +0000 (23:40 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 9 May 2020 05:46:16 +0000 (22:46 -0700)
commitd8f05e9891fd4e80863f09a17c6d594ac6870a33
treecc1fb5733f8b3057df213f5d26bd75b5024e819a
parent4d2c99940825637d007da150ad03a6f4442de0f0
cnic: remove redundant assignment to variable ret

The variable ret is being assigned with a value that is never read,
the assignment is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/cnic.c