[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210313111108.366380-1-zhang.yunkai@zte.com.cn>
Date: Sat, 13 Mar 2021 03:11:08 -0800
From: menglong8.dong@...il.com
To: ebiederm@...ssion.com
Cc: gustavoars@...nel.org, viro@...iv.linux.org.uk,
keescook@...omium.org, zhang.yunkai@....com.cn, pcc@...gle.com,
linux-kernel@...r.kernel.org
Subject: [PATCH] signal: remove duplicate include in signal.h
From: Zhang Yunkai <zhang.yunkai@....com.cn>
'linux/string.h' included in 'signal.h' is duplicated.
It is also included in the 7th line.
Signed-off-by: Zhang Yunkai <zhang.yunkai@....com.cn>
---
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
Powered by blists - more mailing lists