aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/moxa
diff options
context:
space:
mode:
authorSZ Lin <sz.lin@moxa.com>2017-07-29 18:42:37 +0800
committerDavid S. Miller <davem@davemloft.net>2017-07-29 14:02:07 -0700
commitc45c5d03937dfa5da38b3d2e2172199641787190 (patch)
treec15dbb7f306f9d8f992f49199d71dd07caa1204e /drivers/net/ethernet/moxa
parentnet: moxa: Fix comparison to NULL could be written with ! (diff)
downloadlinux-dev-c45c5d03937dfa5da38b3d2e2172199641787190.tar.xz
linux-dev-c45c5d03937dfa5da38b3d2e2172199641787190.zip
net: moxa: Remove extra space after a cast
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>
Diffstat (limited to 'drivers/net/ethernet/moxa')
-rw-r--r--drivers/net/ethernet/moxa/moxart_ether.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/moxa/moxart_ether.c b/drivers/net/ethernet/moxa/moxart_ether.c
index 1d6384873393..31e179a651ae 100644
--- a/drivers/net/ethernet/moxa/moxart_ether.c
+++ b/drivers/net/ethernet/moxa/moxart_ether.c
@@ -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);