]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
net: Remove unnecessary semicolons
authorJoe Perches <joe@perches.com>
Fri, 3 Jun 2011 11:51:19 +0000 (11:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Jun 2011 21:33:39 +0000 (14:33 -0700)
Semicolons are not necessary after switch/while/for/if braces
so remove them.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/batman-adv/hard-interface.c
net/bluetooth/hci_core.c
net/sunrpc/auth.c

index a3fbfb5c92f161c2a38760115a307889b69d66e4..57190870d8b870e4451835d46c7821d76cd6a13d 100644 (file)
@@ -568,7 +568,7 @@ static int hard_if_event(struct notifier_block *this,
                break;
        default:
                break;
-       };
+       }
 
 hardif_put:
        hardif_free_ref(hard_iface);
index 815269b07f20694c7f2968a096c5f3738fb81467..e937adab3683d2f415d70b58a10fa8da4c09e986 100644 (file)
@@ -1519,7 +1519,7 @@ int hci_recv_fragment(struct hci_dev *hdev, int type, void *data, int count)
 
                data += (count - rem);
                count = rem;
-       };
+       }
 
        return rem;
 }
@@ -1554,7 +1554,7 @@ int hci_recv_stream_fragment(struct hci_dev *hdev, void *data, int count)
 
                data += (count - rem);
                count = rem;
-       };
+       }
 
        return rem;
 }
index cd6e4aa19dbfca0de4d54ea5bf6bf5e0d1a79d9f..727e506cacda0f7e6d95178c783ac695d2e4b1fb 100644 (file)
@@ -626,7 +626,7 @@ rpcauth_refreshcred(struct rpc_task *task)
                if (err < 0)
                        goto out;
                cred = task->tk_rqstp->rq_cred;
-       };
+       }
        dprintk("RPC: %5u refreshing %s cred %p\n",
                task->tk_pid, cred->cr_auth->au_ops->au_name, cred);