Skip to content

Commit

Permalink
net:dl2k: Modify the code style escaping the warning
Browse files Browse the repository at this point in the history
modify the code style in order to removing the following warning
when excute the script checkpatch.pl
WARNING: space prohibited between function name and open parenthesis '('

Signed-off-by: Huang Zijiang <huang.zijiang@zte.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Huang Zijiang authored and David S. Miller committed Feb 14, 2019
1 parent 189a10f commit edc307b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/ethernet/dlink/dl2k.c
Original file line number Diff line number Diff line change
Expand Up @@ -843,9 +843,9 @@ rio_free_tx (struct net_device *dev, int irq)
desc_to_dma(&np->tx_ring[entry]),
skb->len, PCI_DMA_TODEVICE);
if (irq)
dev_kfree_skb_irq (skb);
dev_kfree_skb_irq(skb);
else
dev_kfree_skb (skb);
dev_kfree_skb(skb);

np->tx_skbuff[entry] = NULL;
entry = (entry + 1) % TX_RING_SIZE;
Expand Down

0 comments on commit edc307b

Please sign in to comment.