From 824f8f52a1e44f6d281d3f89f23b3e85824a34fb Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Wed, 21 May 2025 16:51:22 -0600 Subject: global: Cleanup usage of "ETH_ALEN" The value of "ETH_ALEN" is defined to 6 in . This file is included in . In the places where we had ETH_ALEN but no direct include of , add . In the places where we had a custom name used, make use of ETH_ALEN instead. Signed-off-by: Tom Rini --- drivers/virtio/virtio_net.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'drivers/virtio/virtio_net.h') diff --git a/drivers/virtio/virtio_net.h b/drivers/virtio/virtio_net.h index c92bae52690..3adcb19aead 100644 --- a/drivers/virtio/virtio_net.h +++ b/drivers/virtio/virtio_net.h @@ -9,8 +9,7 @@ #ifndef _LINUX_VIRTIO_NET_H #define _LINUX_VIRTIO_NET_H -/* TODO: needs to be removed! */ -#define ETH_ALEN 6 +#include /* The feature bitmap for virtio net */ -- cgit v1.2.3