lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <124fb122-f5c9-4857-a4ea-5a632ec3c448@collabora.com>
Date: Mon, 2 Dec 2024 12:39:01 +0500
From: Muhammad Usama Anjum <Usama.Anjum@...labora.com>
To: zhangjiao2 <zhangjiao2@...s.chinamobile.com>, shuah@...nel.org
Cc: Usama.Anjum@...labora.com, linux-kselftest@...r.kernel.org,
 linux-kernel@...r.kernel.org, nathan@...nel.org, tglx@...utronix.de
Subject: Re: [PATCH] selftests/ipc: Remove unused variables

On 12/2/24 9:58 AM, zhangjiao2 wrote:
> From: zhang jiao <zhangjiao2@...s.chinamobile.com>
> 
> Delete variables "msg" and "pid" that have never been used.
> 
> Signed-off-by: zhang jiao <zhangjiao2@...s.chinamobile.com>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@...labora.com>

> ---
>  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 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)


-- 
BR,
Muhammad Usama Anjum

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ