[PATCH] signal: remove duplicate include in signal.h
From: menglong8 . dong
Date: Sat Mar 13 2021 - 06:14:13 EST
From: Zhang Yunkai <zhang.yunkai@xxxxxxxxxx>
'linux/string.h' included in 'signal.h' is duplicated.
It is also included in the 7th line.
Signed-off-by: Zhang Yunkai <zhang.yunkai@xxxxxxxxxx>
---
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.25.1