Skip to content

Commit

Permalink
selftests/ipc: Remove unused variables
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
zhang jiao authored and Shuah Khan committed Jan 15, 2025
1 parent 687c5e5 commit eed8ecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/ipc/msgque.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit eed8ecd

Please sign in to comment.