diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2021-02-03 06:17:28 +0300 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2021-02-03 08:37:59 +0300 |
commit | 1132b9987a3f6c7c396633d5a675075911f1ce32 (patch) | |
tree | 7f649ad8f5b802d806d5be6b2be202201b9d4878 /samples/bpf | |
parent | 15075bb7228ae6422e9e79c27ea69cbd63a9d9dc (diff) | |
download | linux-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.c | 2 |
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(); } |