summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2021-02-03 11:17:28 +0800
committerAndrii Nakryiko <andrii@kernel.org>2021-02-02 21:37:59 -0800
commit1132b9987a3f6c7c396633d5a675075911f1ce32 (patch)
tree7f649ad8f5b802d806d5be6b2be202201b9d4878 /samples
parent15075bb7228ae6422e9e79c27ea69cbd63a9d9dc (diff)
downloadlinux-1132b9987a3f6c7c396633d5a675075911f1ce32.tar.bz2
samples: bpf: Remove unneeded semicolon
Eliminate the following coccicheck warning: ./samples/bpf/cookie_uid_helper_example.c:316:3-4: Unneeded semicolon Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/1612322248-35398-1-git-send-email-yang.lee@linux.alibaba.com
Diffstat (limited to 'samples')
-rw-r--r--samples/bpf/cookie_uid_helper_example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/bpf/cookie_uid_helper_example.c b/samples/bpf/cookie_uid_helper_example.c
index c5ff7a13918c..cc3bce8d3aac 100644
--- a/samples/bpf/cookie_uid_helper_example.c
+++ b/samples/bpf/cookie_uid_helper_example.c
@@ -313,7 +313,7 @@ int main(int argc, char *argv[])
print_table();
printf("\n");
sleep(1);
- };
+ }
} else if (cfg_test_cookie) {
udp_client();
}