[Devel] [PATCH RHEL10 COMMIT] selftests/ipc: Remove unused variables
Konstantin Khorenko
khorenko at virtuozzo.com
Tue Jun 16 12:20:30 MSK 2026
The commit is pushed to "branch-rh10-6.12.0-211.16.1.12.x.vz10-ovz" and will appear at git at bitbucket.org:openvz/vzkernel.git
after rh10-6.12.0-211.16.1.12.1.vz10
------>
commit f87359d85a0ce4478bc66a88438fd1da18fe4276
Author: zhang jiao <zhangjiao2 at cmss.chinamobile.com>
Date: Mon Jun 15 23:42:05 2026 +0300
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 at cmss.chinamobile.com>
Reviewed-by: Muhammad Usama Anjum <usama.anjum at collabora.com>
Signed-off-by: Shuah Khan <skhan at linuxfoundation.org>
(cherry picked from commit eed8ecdf123e6d7874b5d3b71dab8a01747a4305)
Signed-off-by: Eva Kurchatova <eva.kurchatova at virtuozzo.com>
https://virtuozzo.atlassian.net/browse/VSTOR-134200
Feature: fix selftests
---
tools/testing/selftests/ipc/msgque.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/ipc/msgque.c b/tools/testing/selftests/ipc/msgque.c
index c75ea4094870d..e9dbb84c100ac 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)
More information about the Devel
mailing list