Re: [PATCH next] fix unused variable compiler warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

You should probably have cc'd the ext4 maintainers (cc'd).

On Fri, 16 Aug 2013 14:48:34 +0800 Li Zhong <lizhongfs@xxxxxxxxx> wrote:
>
> fs/ext4/extents_status.c:950:6: warning: unused variable
> 'ret' [-Wunused-variable]
> 
> Signed-off-by: Li Zhong <lizhongfs@xxxxxxxxx>
> ---
>  fs/ext4/extents_status.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/ext4/extents_status.c b/fs/ext4/extents_status.c
> index dc709e1..6708257 100644
> --- a/fs/ext4/extents_status.c
> +++ b/fs/ext4/extents_status.c
> @@ -947,7 +947,7 @@ static int __ext4_es_shrink(struct ext4_sb_info *sbi, int nr_to_scan,
>  	struct ext4_inode_info *ei;
>  	struct list_head *cur, *tmp;
>  	LIST_HEAD(skipped);
> -	int ret, nr_shrunk = 0;
> +	int nr_shrunk = 0;
>  	int retried = 0, skip_precached = 1, nr_skipped = 0;
>  
>  	spin_lock(&sbi->s_es_lru_lock);
> 

-- 
Cheers,
Stephen Rothwell                    sfr@xxxxxxxxxxxxxxxx

Attachment: pgpIg_fQQMwWh.pgp
Description: PGP signature


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux