netdevsim: remove unneeded semicolon
authorQiheng Lin <linqiheng@huawei.com>
Tue, 6 Apr 2021 03:18:13 +0000 (11:18 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Apr 2021 23:27:33 +0000 (16:27 -0700)
Eliminate the following coccicheck warning:
 drivers/net/netdevsim/fib.c:569:2-3: Unneeded semicolon

Signed-off-by: Qiheng Lin <linqiheng@huawei.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netdevsim/fib.c

index fda6f37..213d3e5 100644 (file)
@@ -566,7 +566,7 @@ nsim_fib6_rt_create(struct nsim_fib_data *data,
 err_fib6_rt_nh_del:
        for (i--; i >= 0; i--) {
                nsim_fib6_rt_nh_del(fib6_rt, rt_arr[i]);
-       };
+       }
        nsim_fib_rt_fini(&fib6_rt->common);
        kfree(fib6_rt);
        return ERR_PTR(err);