Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 1 participant 1 message Jun 17, 2014 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Trond,

After merging the nfs tree, today's linux-next build (powerpc ppc44x_defconfig and probably others) produced this warning:

fs/nfs/pagelist.c: In function 'nfs_initiate_pgio':
fs/nfs/pagelist.c:555:16: warning: unused variable 'inode' [-Wunused-variable]

  struct inode *inode = hdr->inode;
                ^

Introduced by commit 30e4c73543b0 ("nfs: merge nfs_pgio_data into _header").

"inode" is only used in a dprintk().

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]