diff options
| author | Arnd Bergmann <[email protected]> | 2018-01-22 21:09:12 +0000 |
|---|---|---|
| committer | J. Bruce Fields <[email protected]> | 2018-02-08 18:40:17 +0000 |
| commit | 2285ae760de2cbe4b91a55c0a8033ec332fb8049 (patch) | |
| tree | 258bb6f9e3be69e9bea33af4c08094f7fddba0f3 /drivers/acpi/cppc_acpi.c | |
| parent | nfsd: store stat times in fill_pre_wcc() instead of inode times (diff) | |
| download | kernel-2285ae760de2cbe4b91a55c0a8033ec332fb8049.tar.gz kernel-2285ae760de2cbe4b91a55c0a8033ec332fb8049.zip | |
NFSD: hide unused svcxdr_dupstr()
There is now only one caller left for svcxdr_dupstr() and this is inside
of an #ifdef, so we can get a warning when the option is disabled:
fs/nfsd/nfs4xdr.c:241:1: error: 'svcxdr_dupstr' defined but not used [-Werror=unused-function]
This changes the remaining caller to use a nicer IS_ENABLED() check,
which lets the compiler drop the unused code silently.
Fixes: e40d99e6183e ("NFSD: Clean up symlink argument XDR decoders")
Suggested-by: Rasmus Villemoes <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions
