From: Patrick Delaunay Date: Tue, 30 Mar 2021 12:34:50 +0000 (+0200) Subject: net: dwc_eth_qos: cosmetic: remove unused define EQOS_DESCRIPTOR_ALIGN X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=036e3622bf8394ff229ea0d348aa9a9a60e2c27a;p=u-boot.git net: dwc_eth_qos: cosmetic: remove unused define EQOS_DESCRIPTOR_ALIGN Remove the define EQOS_DESCRIPTOR_ALIGN unused since the commit 6f1e668d964e ("net: dwc_eth_qos: Pad descriptors to cacheline size") Signed-off-by: Patrick Delaunay Acked-by: Marek Vasut Reviewed-by: Ramon Fried --- diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c index b012bed517..f048e9d585 100644 --- a/drivers/net/dwc_eth_qos.c +++ b/drivers/net/dwc_eth_qos.c @@ -238,8 +238,6 @@ struct eqos_tegra186_regs { #define EQOS_AUTO_CAL_STATUS_ACTIVE BIT(31) /* Descriptors */ -/* We assume ARCH_DMA_MINALIGN >= 16; 16 is the EQOS HW minimum */ -#define EQOS_DESCRIPTOR_ALIGN ARCH_DMA_MINALIGN #define EQOS_DESCRIPTORS_TX 4 #define EQOS_DESCRIPTORS_RX 4 #define EQOS_DESCRIPTORS_NUM (EQOS_DESCRIPTORS_TX + EQOS_DESCRIPTORS_RX)