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: <aac9a7c0-ff88-b43a-64cf-53abe65298e7@auristor.com>
Date:   Fri, 9 Aug 2019 13:36:11 -0400
From:   Jeffrey E Altman <jaltman@...istor.com>
To:     YueHaibing <yuehaibing@...wei.com>, dhowells@...hat.com
Cc:     linux-kernel@...r.kernel.org, linux-afs@...ts.infradead.org
Subject: Re: [PATCH -next] afs: remove unused variable 'afs_zero_fid'

Confirmed.

On 8/9/2019 4:42 AM, YueHaibing wrote:
> fs/afs/fsclient.c:18:29: warning:
>  afs_zero_fid defined but not used [-Wunused-const-variable=]
> 
> It is never used since commit 025db80c9e42 ("afs: Trace
> the initiation and completion of client calls")
> 
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
> ---
>  fs/afs/fsclient.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/fs/afs/fsclient.c b/fs/afs/fsclient.c
> index 114f281..67af068 100644
> --- a/fs/afs/fsclient.c
> +++ b/fs/afs/fsclient.c
> @@ -15,8 +15,6 @@
>  #include "xdr_fs.h"
>  #include "protocol_yfs.h"
>  
> -static const struct afs_fid afs_zero_fid;
> -
>  static inline void afs_use_fs_server(struct afs_call *call, struct afs_cb_interest *cbi)
>  {
>  	call->cbi = afs_get_cb_interest(cbi);
> 

View attachment "jaltman.vcf" of type "text/x-vcard" (272 bytes)

Download attachment "smime.p7s" of type "application/pkcs7-signature" (4033 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ