]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
selftests/ipc: Remove unused variables
authorzhang jiao <zhangjiao2@cmss.chinamobile.com>
Mon, 2 Dec 2024 04:58:27 +0000 (12:58 +0800)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 15 Jan 2025 00:06:31 +0000 (17:06 -0700)
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>
tools/testing/selftests/ipc/msgque.c

index c75ea4094870d106fb135681c49298002c47c2ac..e9dbb84c100acfa73e9303894ff3915b1d2cc4e1 100644 (file)
@@ -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)