aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/oce/oce_if.h
diff options
context:
space:
mode:
authorEric Joyner <erj@FreeBSD.org>2019-11-04 22:57:36 +0000
committerEric Joyner <erj@FreeBSD.org>2019-11-04 22:57:36 +0000
commite81998f40799d3261192557e16939ad82096938b (patch)
treea1b1abd88eb99f6a8be02c106a903390e2e29333 /sys/dev/oce/oce_if.h
parent6a2a926d5f060b11730161eadca1de0cdf1b1c44 (diff)
downloadsrc-e81998f40799d3261192557e16939ad82096938b.tar.gz
src-e81998f40799d3261192557e16939ad82096938b.zip
net: prefer ETHER_ADDR_LEN over ETH_ADDR_LEN
A couple of drivers and one place in if.c use ETH_ADDR_LEN, even though net/ethernet.h provides an equivalent ETHER_ADDR_LEN definition. Cleanup all of the locations which refer to ETH_ADDR_LEN to use the standard ETHER_ADDR_LEN instead. Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Submitted by: Jacob Keller <jacob.e.keller@intel.com> Reviewed by: erj@, jpaetzel@ Sponsored by: Intel Corporation Differential Revision: https://reviews.freebsd.org/D21239
Notes
Notes: svn path=/head/; revision=354343
Diffstat (limited to 'sys/dev/oce/oce_if.h')
-rw-r--r--sys/dev/oce/oce_if.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/oce/oce_if.h b/sys/dev/oce/oce_if.h
index 5cf004b2dea5..d1fd35bd35f9 100644
--- a/sys/dev/oce/oce_if.h
+++ b/sys/dev/oce/oce_if.h
@@ -200,7 +200,6 @@ extern int mp_ncpus; /* system's total active cpu cores */
#define OCE_IF_CAPABILITIES_NONE 0
-#define ETH_ADDR_LEN 6
#define MAX_VLANFILTER_SIZE 64
#define MAX_VLANS 4096