diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2021-08-05 17:55:55 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-06 12:26:46 +0300 |
commit | 9ffc513f95eea67bbdee615637c24d131a2b3186 (patch) | |
tree | 612beb2605dd8cd3264bd682b0782a0031ec3cc6 /drivers/net/ethernet/ti/davinci_emac.c | |
parent | 61e7a22da75b5ca97e89f6a935352e6528342b99 (diff) | |
download | linux-9ffc513f95eea67bbdee615637c24d131a2b3186.tar.xz |
net: ethernet: ti: davinci_cpdma: drop frame padding
Hence all users of davinci_cpdma switched to skb_put_padto() the frame
padding can be removed from it.
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/davinci_emac.c')
-rw-r--r-- | drivers/net/ethernet/ti/davinci_emac.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ti/davinci_emac.c b/drivers/net/ethernet/ti/davinci_emac.c index b1c5cbe7478b..cd2ef0282f38 100644 --- a/drivers/net/ethernet/ti/davinci_emac.c +++ b/drivers/net/ethernet/ti/davinci_emac.c @@ -1850,7 +1850,6 @@ static int davinci_emac_probe(struct platform_device *pdev) dma_params.txcp = priv->emac_base + 0x640; dma_params.rxcp = priv->emac_base + 0x660; dma_params.num_chan = EMAC_MAX_TXRX_CHANNELS; - dma_params.min_packet_size = EMAC_DEF_MIN_ETHPKTSIZE; dma_params.desc_hw_addr = hw_ram_addr; dma_params.desc_mem_size = pdata->ctrl_ram_size; dma_params.desc_align = 16; |