tipc: remove unneeded semicolon
authorTom Rix <trix@redhat.com>
Sun, 1 Nov 2020 15:58:22 +0000 (07:58 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 3 Nov 2020 01:50:43 +0000 (17:50 -0800)
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>
net/tipc/link.c
net/tipc/node.c

index 06b880d..97b1c6b 100644 (file)
@@ -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
index d269ebe..cd67b7d 100644 (file)
@@ -1638,7 +1638,7 @@ static void tipc_lxc_xmit(struct net *peer_net, struct sk_buff_head *list)
                return;
        default:
                return;
-       };
+       }
 }
 
 /**