aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2020-11-01 07:58:22 -0800
committerJakub Kicinski <kuba@kernel.org>2020-11-02 17:50:43 -0800
commitf2219c322ff2d91afbaa1236f1f91a28b785cd1e (patch)
tree406be0201c337ac413940a3a19c3f44a7b8e3b42 /net/tipc
parent0b6f164d5a52920a4df854d56859a406042946f8 (diff)
downloadlinux-f2219c322ff2d91afbaa1236f1f91a28b785cd1e.tar.gz
tipc: remove unneeded semicolon
A semicolon is not needed after a switch statement. Signed-off-by: Tom Rix <trix@redhat.com> Link: https://lore.kernel.org/r/20201101155822.2294856-1-trix@redhat.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/tipc')
-rw-r--r--net/tipc/link.c2
-rw-r--r--net/tipc/node.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/tipc/link.c b/net/tipc/link.c
index 06b880da2a8ea..97b1c6bd45dcf 100644
--- a/net/tipc/link.c
+++ b/net/tipc/link.c
@@ -1260,7 +1260,7 @@ static bool tipc_data_input(struct tipc_link *l, struct sk_buff *skb,
pr_warn("Dropping received illegal msg type\n");
kfree_skb(skb);
return true;
- };
+ }
}
/* tipc_link_input - process packet that has passed link protocol check
diff --git a/net/tipc/node.c b/net/tipc/node.c
index d269ebe382e1f..cd67b7d5169f0 100644
--- a/net/tipc/node.c
+++ b/net/tipc/node.c
@@ -1638,7 +1638,7 @@ static void tipc_lxc_xmit(struct net *peer_net, struct sk_buff_head *list)
return;
default:
return;
- };
+ }
}
/**