lkml.org 
[lkml]   [2021]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] signal: remove redundant quote
Date
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

\
 
 \ /
  Last update: 2021-01-19 15:18    [W:0.080 / U:1.796 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site