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-Tag: baikal/mips/sdk5.9~15^2^2~225^2 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=b0acd14b446ef5b01f2a4ff5afc56779badd7f89;p=uboot.git net: dwc_eth_qos: cosmetic: remove unused define EQOS_DESCRIPTOR_ALIGN Remove the define EQOS_DESCRIPTOR_ALIGN unused since the commit 56f48738a6b4 ("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)