linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] signal: remove redundant quote
@ 2021-01-19  9:23 chiguoqing
  0 siblings, 0 replies; only message in thread
From: chiguoqing @ 2021-01-19  9:23 UTC (permalink / raw)
  To: keescook; +Cc: pcc, linux-kernel, shaojunjun, zhangwen, chiguoqing, chiguoqing

If define __HAVE_ARCH_SIG_SETOPS,it will onece include string.h.
But if no define __HAVE_ARCH_SIG_SETOPS or into this code,
it will repeated references string.h
So i think we can remove this include which in __HAVE_ARCH_SIG_SETOPS.

Signed-off-by: Junjun Shao<shaojunjun@yulong.com>
---
 include/linux/signal.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/signal.h b/include/linux/signal.h
index 205526c4003a..c371d3a3ff61 100644
--- a/include/linux/signal.h
+++ b/include/linux/signal.h
@@ -124,7 +124,6 @@ static inline int sigequalsets(const sigset_t *set1, const sigset_t *set2)
 #define sigmask(sig)	(1UL << ((sig) - 1))
 
 #ifndef __HAVE_ARCH_SIG_SETOPS
-#include <linux/string.h>
 
 #define _SIG_SET_BINOP(name, op)					\
 static inline void name(sigset_t *r, const sigset_t *a, const sigset_t *b) \
-- 
2.17.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-19 13:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-19  9:23 [PATCH] signal: remove redundant quote chiguoqing

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).