net: lantiq_etop: remove unnecessary space in cast
authorAleksander Jan Bajkowski <olek2@wp.pl>
Wed, 29 Dec 2021 23:52:06 +0000 (00:52 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Dec 2021 13:20:23 +0000 (13:20 +0000)
As reported by checkpatch.pl, no space is necessary after a cast.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/lantiq_etop.c

index 064f1595fde3e5e450705caa4af546d3424bd333..9b6fa27b7daf77f2d2465fda337c3ca8df8c0033 100644 (file)
@@ -498,7 +498,7 @@ ltq_etop_tx(struct sk_buff *skb, struct net_device *dev)
        netif_trans_update(dev);
 
        spin_lock_irqsave(&priv->lock, flags);
-       desc->addr = ((unsigned int) dma_map_single(&priv->pdev->dev, skb->data, len,
+       desc->addr = ((unsigned int)dma_map_single(&priv->pdev->dev, skb->data, len,
                                                DMA_TO_DEVICE)) - byte_offset;
        /* Make sure the address is written before we give it to HW */
        wmb();