Messages in this thread Patch in this message | | | From | chiguoqing <> | Subject | [PATCH] signal: remove redundant quote | Date | Tue, 19 Jan 2021 17:23:01 +0800 |
| |
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
| |