linux-next: build warning after merge of the cifs tree

From: Stephen Rothwell
Date: Sun May 22 2022 - 20:58:13 EST


Hi all,

After merging the cifs tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

fs/cifs/connect.c: In function 'is_path_remote':
fs/cifs/connect.c:3436:14: warning: unused variable 'nodfs' [-Wunused-variable]
3436 | bool nodfs = cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_DFS;
| ^~~~~

Introduced by commit

421ef3d56513 ("cifs: don't call cifs_dfs_query_info_nonascii_quirk() if nodfs was set")

--
Cheers,
Stephen Rothwell

Attachment: pgpkVyB1ohwXK.pgp
Description: OpenPGP digital signature