summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiddharth Vadapalli <s-vadapalli@ti.com>2024-03-06 21:55:59 +0530
committerPraneeth Bajjuri <praneeth@ti.com>2024-03-07 11:45:56 -0600
commita6174d6c4ff531039c677079321888a9a3f9951c (patch)
tree2889fde8154bbd1e9002845a9c08d42563d73db0
parentdf96f33ceb4890286e8f2bdf9179f9ec62a42b0c (diff)
net: ethernet: ti: cpsw-proxy-client: Drop unused RX psdata macros
Drop unused macros "CPSW_RX_PSD_CSUM_ADD" and "CPSW_RX_PSD_IS_TCP" that correspond to the fields defined in the RX DMA descriptor header. Fixes: 9343810f28a1 ("net: ethernet: ti: Add CPSW Proxy Client driver") Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
-rw-r--r--drivers/net/ethernet/ti/cpsw-proxy-client.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/ti/cpsw-proxy-client.c b/drivers/net/ethernet/ti/cpsw-proxy-client.c
index 090bb61e6d78..de353db4be34 100644
--- a/drivers/net/ethernet/ti/cpsw-proxy-client.c
+++ b/drivers/net/ethernet/ti/cpsw-proxy-client.c
@@ -1380,10 +1380,8 @@ static int cpsw_virt_port_tx_poll(struct napi_struct *napi_tx, int budget)
}
/* RX psdata[2] word format - checksum information */
-#define CPSW_RX_PSD_CSUM_ADD GENMASK(15, 0)
#define CPSW_RX_PSD_CSUM_ERR BIT(16)
#define CPSW_RX_PSD_IS_FRAGMENT BIT(17)
-#define CPSW_RX_PSD_IS_TCP BIT(18)
#define CPSW_RX_PSD_IPV6_VALID BIT(19)
#define CPSW_RX_PSD_IPV4_VALID BIT(20)