diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-11-19 15:11:24 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-11-19 19:09:37 +0100 |
commit | 7ca2f234404e738cc807ed87c43f9932513bc8c6 (patch) | |
tree | 17b9a0eeb1230a42ae67e11f361aff37b652804b /arch/arm/boot/dts/at91sam9g35ek.dts | |
parent | vfs: fix reference leak in d_prune_aliases() (diff) | |
download | linux-7ca2f234404e738cc807ed87c43f9932513bc8c6.tar.xz linux-7ca2f234404e738cc807ed87c43f9932513bc8c6.zip |
isofs: avoid unused function warning
With the isofs_hash() function removed, isofs_hash_ms() is the only user
of isofs_hash_common(), but it's defined inside of an #ifdef, which triggers
this gcc warning in ARM axm55xx_defconfig starting with v3.18-rc3:
fs/isofs/inode.c:177:1: warning: 'isofs_hash_common' defined but not used [-Wunused-function]
This patch moves the function inside of the same #ifdef section to avoid that
warning, which seems the best compromise of a relatively harmless patch for
a late -rc.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: b0afd8e5db7b ("isofs: don't bother with ->d_op for normal case")
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/arm/boot/dts/at91sam9g35ek.dts')
0 files changed, 0 insertions, 0 deletions