netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RESEND PATCH 1/3] net: caif: remove unused hardirq.h
@ 2018-01-08 19:52 Yang Shi
       [not found] ` <1515441174-122496-1-git-send-email-yang.s-gPhfCIXyaqCqndwCJWfcng@public.gmane.org>
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Yang Shi @ 2018-01-08 19:52 UTC (permalink / raw)
  To: davem; +Cc: Yang Shi, netdev, linux-kernel, Dmitry Tarnyagin

Preempt counter APIs have been split out, currently, hardirq.h just
includes irq_enter/exit APIs which are not used by caif at all.

So, remove the unused hardirq.h.

Signed-off-by: Yang Shi <yang.s@alibaba-inc.com>
Cc: Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no>
Cc: "David S. Miller" <davem@davemloft.net>
---
 net/caif/cfpkt_skbuff.c | 1 -
 net/caif/chnl_net.c     | 1 -
 2 files changed, 2 deletions(-)

diff --git a/net/caif/cfpkt_skbuff.c b/net/caif/cfpkt_skbuff.c
index 71b6ab2..38c2b7a 100644
--- a/net/caif/cfpkt_skbuff.c
+++ b/net/caif/cfpkt_skbuff.c
@@ -8,7 +8,6 @@
 
 #include <linux/string.h>
 #include <linux/skbuff.h>
-#include <linux/hardirq.h>
 #include <linux/export.h>
 #include <net/caif/cfpkt.h>
 
diff --git a/net/caif/chnl_net.c b/net/caif/chnl_net.c
index 922ac1d..53ecda1 100644
--- a/net/caif/chnl_net.c
+++ b/net/caif/chnl_net.c
@@ -8,7 +8,6 @@
 #define pr_fmt(fmt) KBUILD_MODNAME ":%s(): " fmt, __func__
 
 #include <linux/fs.h>
-#include <linux/hardirq.h>
 #include <linux/init.h>
 #include <linux/module.h>
 #include <linux/netdevice.h>
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-01-09  1:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-08 19:52 [RESEND PATCH 1/3] net: caif: remove unused hardirq.h Yang Shi
     [not found] ` <1515441174-122496-1-git-send-email-yang.s-gPhfCIXyaqCqndwCJWfcng@public.gmane.org>
2018-01-08 19:52   ` [RESEND PATCH 2/3] net: ovs: " Yang Shi
2018-01-09  1:59     ` David Miller
2018-01-08 19:52 ` [RESEND PATCH 3/3] net: tipc: " Yang Shi
2018-01-09  1:59   ` David Miller
2018-01-09  1:59 ` [RESEND PATCH 1/3] net: caif: " David Miller

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).