summaryrefslogtreecommitdiff
path: root/samples/bpf
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2021-02-03 06:17:28 +0300
committerAndrii Nakryiko <andrii@kernel.org>2021-02-03 08:37:59 +0300
commit1132b9987a3f6c7c396633d5a675075911f1ce32 (patch)
tree7f649ad8f5b802d806d5be6b2be202201b9d4878 /samples/bpf
parent15075bb7228ae6422e9e79c27ea69cbd63a9d9dc (diff)
downloadlinux-1132b9987a3f6c7c396633d5a675075911f1ce32.tar.xz
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/bpf')
-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();
}