Commit 5d9b400e authored by Sreedevi Joshi's avatar Sreedevi Joshi Committed by Tony Nguyen
Browse files

idpf: remove duplicate defines in IDPF_CAP_RSS



Remove duplicate defines from the OR operation when defining IDPF_CAP_RSS.

Duplicate definitions were introduced when IDPF_CAP_RSS was originally
defined and were left behind and went unnoticed during a previous commit
that renamed them. Review of the original out-of-tree code confirms these
duplicates were the result of a typing error.

Remove the duplicates to clean up the code and avoid potential confusion.
Also verify no other duplicate occurrences of these defines exist
elsewhere in the codebase.

Reviewed-by: default avatarAleksandr Loktionov <aleksandr.loktionov@intel.com>
Reviewed-by: default avatarPrzemek Kitszel <przemyslaw.kitszel@intel.com>
Signed-off-by: default avatarSreedevi Joshi <sreedevi.joshi@intel.com>
Tested-by: default avatarSamuel Salin <Samuel.salin@intel.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
parent a7ae783d
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -734,13 +734,11 @@ static inline bool idpf_is_rdma_cap_ena(struct idpf_adapter *adapter)
}

#define IDPF_CAP_RSS (\
	VIRTCHNL2_FLOW_IPV4_TCP		|\
	VIRTCHNL2_FLOW_IPV4_TCP		|\
	VIRTCHNL2_FLOW_IPV4_UDP		|\
	VIRTCHNL2_FLOW_IPV4_SCTP	|\
	VIRTCHNL2_FLOW_IPV4_OTHER	|\
	VIRTCHNL2_FLOW_IPV6_TCP		|\
	VIRTCHNL2_FLOW_IPV6_TCP		|\
	VIRTCHNL2_FLOW_IPV6_UDP		|\
	VIRTCHNL2_FLOW_IPV6_SCTP	|\
	VIRTCHNL2_FLOW_IPV6_OTHER)