summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2021-02-03 04:17:28 +0100
committerAndrii Nakryiko <andrii@kernel.org>2021-02-03 06:37:59 +0100
commit1132b9987a3f6c7c396633d5a675075911f1ce32 (patch)
tree7f649ad8f5b802d806d5be6b2be202201b9d4878 /samples
parentselftests/bpf: Fix a compiler warning in local_storage test (diff)
downloadlinux-1132b9987a3f6c7c396633d5a675075911f1ce32.tar.xz
linux-1132b9987a3f6c7c396633d5a675075911f1ce32.zip
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();
}