]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
net: moxa: Remove extra space after a cast
authorSZ Lin <sz.lin@moxa.com>
Sat, 29 Jul 2017 10:42:37 +0000 (18:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Jul 2017 21:02:07 +0000 (14:02 -0700)
No space is necessary after a cast
This warning is found using checkpatch.pl

Signed-off-by: SZ Lin <sz.lin@moxa.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/moxa/moxart_ether.c

index 1d6384873393cd0c65a0c8d671f58aa5175cf0e1..31e179a651ae361c5e98afc369d97c22d708ad3f 100644 (file)
@@ -311,7 +311,7 @@ static void moxart_tx_finished(struct net_device *ndev)
 
 static irqreturn_t moxart_mac_interrupt(int irq, void *dev_id)
 {
-       struct net_device *ndev = (struct net_device *) dev_id;
+       struct net_device *ndev = (struct net_device *)dev_id;
        struct moxart_mac_priv_t *priv = netdev_priv(ndev);
        unsigned int ists = readl(priv->base + REG_INTERRUPT_STATUS);