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>
This commit is contained in:
parent
7a6653adde
commit
dda0c2e7ed
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user