summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Jan Bajkowski <olek2@wp.pl>2021-12-30 00:52:06 +0100
committerDavid S. Miller <davem@davemloft.net>2021-12-30 13:20:23 +0000
commitdda0c2e7ed21d7db1568920366e616c6c037b814 (patch)
tree9d6115260d92d555ee4e9fb7aa80b3b961460ca8
parent7a6653adde03c18997ff4afa4f61c2e7dc02de00 (diff)
net: lantiq_etop: remove unnecessary space in cast
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>
-rw-r--r--drivers/net/ethernet/lantiq_etop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/lantiq_etop.c b/drivers/net/ethernet/lantiq_etop.c
index 064f1595fde3..9b6fa27b7daf 100644
--- a/drivers/net/ethernet/lantiq_etop.c
+++ b/drivers/net/ethernet/lantiq_etop.c
@@ -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();