Thread (27 messages) 27 messages, 9 authors, 2018-01-08

Re: [PATCH 6/8] net: caif: remove unused hardirq.h

From: Yang Shi <hidden>
Date: 2017-12-07 19:13:55
Also in: linux-crypto, linux-fsdevel, lkml, netdev

Hi folks,

Any comment on this one?

Thanks,
Yang


On 11/17/17 3:02 PM, Yang Shi wrote:
quoted hunk ↗ jump to hunk
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 <redacted>
Cc: Dmitry Tarnyagin <redacted>
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>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help