summaryrefslogtreecommitdiff
path: root/include/linux/seqlock.h
diff options
context:
space:
mode:
authorLukas Bulwahn <lukas.bulwahn@gmail.com>2020-11-13 18:20:12 +0100
committerThomas Gleixner <tglx@linutronix.de>2020-11-14 01:15:35 +0100
commit932f8c64d38bb08f69c8c26a2216ba0c36c6daa8 (patch)
treed39529b0b837f0e07dc102774fc0c607d22e27ec /include/linux/seqlock.h
parentf8394f232b1eab649ce2df5c5f15b0e528c92091 (diff)
futex: Remove unused empty compat_exit_robust_list()
Commit ba31c1a48538 ("futex: Move futex exit handling into futex code") introduced compat_exit_robust_list() with a full-fledged implementation for CONFIG_COMPAT, and an empty-body function for !CONFIG_COMPAT. However, compat_exit_robust_list() is only used in futex_mm_release() under #ifdef CONFIG_COMPAT. Hence for !CONFIG_COMPAT, make CC=clang W=1 warns: kernel/futex.c:314:20: warning: unused function 'compat_exit_robust_list' [-Wunused-function] There is no need to declare the unused empty function for !CONFIG_COMPAT. Simply remove it. Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Nathan Chancellor <natechancellor@gmail.com> Link: https://lore.kernel.org/r/20201113172012.27221-1-lukas.bulwahn@gmail.com
Diffstat (limited to 'include/linux/seqlock.h')
0 files changed, 0 insertions, 0 deletions