ncpfs: fix unused variable warning
authorMiklos Szeredi <mszeredi@redhat.com>
Tue, 27 Sep 2016 09:03:57 +0000 (11:03 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Tue, 27 Sep 2016 09:03:57 +0000 (11:03 +0200)
commit9a232de4999666b2e8ea6775b2b0e3e4feb09b7a
treeb21e9e105a314c262a6b1ed7637943c85af68f84
parent08895a8b6b06ed2323cd97a36ee40a116b3db8ed
ncpfs: fix unused variable warning

Without CONFIG_NCPFS_NLS the following warning is seen:

fs/ncpfs/dir.c: In function 'ncp_hash_dentry':
fs/ncpfs/dir.c:136:23: warning: unused variable 'sb' [-Wunused-variable]
   struct super_block *sb = dentry->d_sb;

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/ncpfs/dir.c