net: ixgbevf: Remove redundant initialization of variable ret_val
authorColin Ian King <colin.king@canonical.com>
Fri, 10 Sep 2021 11:51:00 +0000 (12:51 +0100)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 29 Oct 2021 16:42:59 +0000 (09:42 -0700)
commit1b9abade3e75e8ea33302cbba1d7f637399534d2
tree8fb136c6531393656f4e4bd86fcebc7c475937cf
parenta97f8783a9374a1527d88477c23039a6f3e8a909
net: ixgbevf: Remove redundant initialization of variable ret_val

The variable ret_val is being initialized with a value that is never
read, it is being updated later on. The assignment is redundant and
can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ixgbevf/vf.c