• Arnd Bergmann's avatar
    cifs: avoid unused variable and label · 8c36e9df
    Arnd Bergmann authored
    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: default avatarArnd Bergmann <arnd@arndb.de>
    Fixes: c6f2a1e2e5f8 ("vfs: pull btrfs clone API to vfs layer")
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    8c36e9df
cifsfs.c 35.5 KB