diff options
author | Aleksander Jan Bajkowski <olek2@wp.pl> | 2021-12-30 02:52:06 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-12-30 16:20:23 +0300 |
commit | dda0c2e7ed21d7db1568920366e616c6c037b814 (patch) | |
tree | 9d6115260d92d555ee4e9fb7aa80b3b961460ca8 /drivers | |
parent | 7a6653adde03c18997ff4afa4f61c2e7dc02de00 (diff) | |
download | linux-dda0c2e7ed21d7db1568920366e616c6c037b814.tar.xz |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/lantiq_etop.c | 2 |
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(); |