diff options
author | Himangi Saraogi <himangi774@gmail.com> | 2014-05-30 11:40:48 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-30 20:48:57 -0400 |
commit | 70cb4a4526d4d3ad901a979a5f26917149408f8d (patch) | |
tree | 85f155e5de9dcb4f52fce4d286823da0b218b9ac /net/ipv4 | |
parent | e9bcbc970a774bc8e17fd7eb24b9969be67d666e (diff) |
ipmr: Replace comma with semicolon
This patch replaces a comma between expression statements by a semicolon.
A simplified version of the semantic patch that performs this
transformation is as follows:
// <smpl>
@r@
expression e1,e2,e;
type T;
identifier i;
@@
e1
-,
+;
e2;
// </smpl>
Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/ipmr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ipmr.c b/net/ipv4/ipmr.c index d84dc8d4c916..2bc9cc47f246 100644 --- a/net/ipv4/ipmr.c +++ b/net/ipv4/ipmr.c | |||
@@ -484,7 +484,7 @@ static void reg_vif_setup(struct net_device *dev) | |||
484 | dev->type = ARPHRD_PIMREG; | 484 | dev->type = ARPHRD_PIMREG; |
485 | dev->mtu = ETH_DATA_LEN - sizeof(struct iphdr) - 8; | 485 | dev->mtu = ETH_DATA_LEN - sizeof(struct iphdr) - 8; |
486 | dev->flags = IFF_NOARP; | 486 | dev->flags = IFF_NOARP; |
487 | dev->netdev_ops = ®_vif_netdev_ops, | 487 | dev->netdev_ops = ®_vif_netdev_ops; |
488 | dev->destructor = free_netdev; | 488 | dev->destructor = free_netdev; |
489 | dev->features |= NETIF_F_NETNS_LOCAL; | 489 | dev->features |= NETIF_F_NETNS_LOCAL; |
490 | } | 490 | } |