diff options
author | 2024-12-02 12:58:27 +0800 | |
---|---|---|
committer | 2025-01-14 17:06:31 -0700 | |
commit | eed8ecdf123e6d7874b5d3b71dab8a01747a4305 (patch) | |
tree | d213f396bba4d05b12269e501e4c21c057c1daac | |
parent | selftest: media_tests: fix trivial UAF typo (diff) | |
download | wireguard-linux-eed8ecdf123e6d7874b5d3b71dab8a01747a4305.tar.xz wireguard-linux-eed8ecdf123e6d7874b5d3b71dab8a01747a4305.zip |
selftests/ipc: Remove unused variables
Delete variables "msg" and "pid" that have never been used.
Link: https://lore.kernel.org/r/20241202045827.4704-1-zhangjiao2@cmss.chinamobile.com
Signed-off-by: zhang jiao <zhangjiao2@cmss.chinamobile.com>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
-rw-r--r-- | tools/testing/selftests/ipc/msgque.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/ipc/msgque.c b/tools/testing/selftests/ipc/msgque.c index c75ea4094870..e9dbb84c100a 100644 --- a/tools/testing/selftests/ipc/msgque.c +++ b/tools/testing/selftests/ipc/msgque.c @@ -194,7 +194,7 @@ int fill_msgque(struct msgque_data *msgque) int main(int argc, char **argv) { - int msg, pid, err; + int err; struct msgque_data msgque; if (getuid() != 0) |