Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

zhang jiao and committed by
Shuah Khan
eed8ecdf 687c5e56

+1 -1
+1 -1
tools/testing/selftests/ipc/msgque.c
··· 194 194 195 195 int main(int argc, char **argv) 196 196 { 197 - int msg, pid, err; 197 + int err; 198 198 struct msgque_data msgque; 199 199 200 200 if (getuid() != 0)