Re: linux-next: build warning after merge of the fscache tree

From: David Howells
Date: Tue Mar 02 2021 - 18:41:31 EST


Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:

> After merging the fscache tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> fs/afs/file.c: In function 'afs_req_issue_op':
> fs/afs/file.c:291:6: warning: unused variable 'ret' [-Wunused-variable]
> 291 | int ret;
> | ^~~
>
> Introduced by commit
>
> 799fbdf96cd5 ("afs: Use new fscache read helper API")

I've updated my branch to remove the variable.

David