igb: remove never changed variable `ret_val'
authorJason Wang <wangborong@cdjrlc.com>
Sun, 14 Nov 2021 06:02:22 +0000 (14:02 +0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 21 Dec 2021 17:17:47 +0000 (09:17 -0800)
commit890781af31a069555163b23cb513c7ee1927fb24
tree14ae1de119ae8623edc249191ede5ca5cf6cbfee
parentb8773a66f651d0e410796562c1e1f6097619caba
igb: remove never changed variable `ret_val'

The variable used for return status in `igb_write_xmdio_reg' function
is never changed  and this function is just need return 0. Thus, the
`ret_val' can be removed and return 0 at the end of the
`igb_write_xmdio_reg' function.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igb/e1000_i210.c