Commit b8811456 authored by Kevin Lo's avatar Kevin Lo Committed by Tony Nguyen
Browse files

igc: check return value of ret_val in igc_config_fc_after_link_up



Check return value from ret_val to make error check actually work.

Fixes: 4eb80801 ("igc: Add setup link functionality")
Signed-off-by: default avatarKevin Lo <kevlo@kevlo.org>
Acked-by: default avatarSasha Neftin <sasha.neftin@intel.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
parent ebc8d125
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -638,7 +638,7 @@ s32 igc_config_fc_after_link_up(struct igc_hw *hw)
	}

out:
	return 0;
	return ret_val;
}

/**