cifs: avoid unused variable and label
authorArnd Bergmann <arnd@arndb.de>
Tue, 8 Dec 2015 15:18:51 +0000 (16:18 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 8 Dec 2015 19:50:47 +0000 (14:50 -0500)
commit8c36e9dfe7527665e286c3ac970c3fb327e6ab24
tree8b54ea4dab5ef7006ff9d785b8b150497162cd5e
parentffa0160a103917defd5d9c097ae0455a59166e03
cifs: avoid unused variable and label

The newly introduced cifs_clone_file_range() function produces
two harmless compile-time warnings:

cifsfs.c: In function 'cifs_clone_file_range':
cifsfs.c:963:1: warning: label 'out_unlock' defined but not used [-Wunused-label]
cifsfs.c:924:20: warning: unused variable 'src_tcon' [-Wunused-variable]

In both cases, removing the extraneous line avoids the warning.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: c6f2a1e2e5f8 ("vfs: pull btrfs clone API to vfs layer")
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/cifs/cifsfs.c