OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15075bb
)
samples: bpf: Remove unneeded semicolon
author
Yang Li
<yang.lee@linux.alibaba.com>
Wed, 3 Feb 2021 03:17:28 +0000
(11:17 +0800)
committer
Andrii Nakryiko
<andrii@kernel.org>
Wed, 3 Feb 2021 05:37:59 +0000
(21:37 -0800)
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
samples/bpf/cookie_uid_helper_example.c
patch
|
blob
|
history
diff --git
a/samples/bpf/cookie_uid_helper_example.c
b/samples/bpf/cookie_uid_helper_example.c
index
c5ff7a1
..
cc3bce8
100644
(file)
--- 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();
}