diff options
| author | Arnd Bergmann <[email protected]> | 2014-09-08 15:20:56 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2014-09-16 10:30:11 +0000 |
| commit | 116ae5e2b09f7022281c253a6037a74d0446bfaf (patch) | |
| tree | f20b61f63411280007ae7ec593a535cbbbb29293 /tools/perf/scripts/python/syscall-counts.py | |
| parent | Revert "cifs: No need to send SIGKILL to demux_thread during umount" (diff) | |
| download | kernel-116ae5e2b09f7022281c253a6037a74d0446bfaf.tar.gz kernel-116ae5e2b09f7022281c253a6037a74d0446bfaf.zip | |
cifs: remove dead code
cifs provides two dummy functions 'sess_auth_lanman' and
'sess_auth_kerberos' for the case in which the respective
features are not defined. However, the caller is also under
an #ifdef, so we just get warnings about unused code:
fs/cifs/sess.c:1109:1: warning: 'sess_auth_kerberos' defined but not used [-Wunused-function]
sess_auth_kerberos(struct sess_data *sess_data)
Removing the dead functions gets rid of the warnings without
any downsides that I can see.
(Yalin Wang reported the identical problem and fix so added him)
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Yalin Wang <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
