Re: [PATCH net-next] afs: Conditionalise a new unused variable

2017-01-16 Thread David Miller
From: David Howells Date: Fri, 13 Jan 2017 14:46:19 + > From: Arnd Bergmann > > The bulk readpages support introduced a harmless warning: > > fs/afs/file.c: In function 'afs_readpages_page_done': > fs/afs/file.c:270:20: error: unused variable 'vnode'

[PATCH net-next] afs: Conditionalise a new unused variable

2017-01-13 Thread David Howells
From: Arnd Bergmann The bulk readpages support introduced a harmless warning: fs/afs/file.c: In function 'afs_readpages_page_done': fs/afs/file.c:270:20: error: unused variable 'vnode' [-Werror=unused-variable] This adds an #ifdef to match the user of that variable. The user of