summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2014-06-06 23:36:45 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-07 01:08:11 +0200
commit36fac0a214805bd7c8307cad1cde60a7b833266d (patch)
tree52bffa22f6f124876131b885e6dcdd9dea81ee53 /include
parentptrace: task_clear_jobctl_trapping()->wake_up_bit() needs mb() (diff)
downloadlinux-36fac0a214805bd7c8307cad1cde60a7b833266d.tar.xz
linux-36fac0a214805bd7c8307cad1cde60a7b833266d.zip
signals: kill sigfindinword()
It has no users and it doesn't look useful. I do not know why/when it was introduced, I can't even find any user in the git history. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Al Viro <viro@ZenIV.linux.org.uk> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Cc: Richard Weinberger <richard@nod.at> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Tejun Heo <tj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/signal.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/signal.h b/include/linux/signal.h
index 2ac423bdb676..ae744c314630 100644
--- a/include/linux/signal.h
+++ b/include/linux/signal.h
@@ -63,11 +63,6 @@ static inline int sigismember(sigset_t *set, int _sig)
return 1 & (set->sig[sig / _NSIG_BPW] >> (sig % _NSIG_BPW));
}
-static inline int sigfindinword(unsigned long word)
-{
- return ffz(~word);
-}
-
#endif /* __HAVE_ARCH_SIG_BITOPS */
static inline int sigisemptyset(sigset_t *set)