[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1515441174-122496-1-git-send-email-yang.s@alibaba-inc.com>
Date: Tue, 09 Jan 2018 03:52:52 +0800
From: "Yang Shi" <yang.s@...baba-inc.com>
To: davem@...emloft.net
Cc: "Yang Shi" <yang.s@...baba-inc.com>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
"Dmitry Tarnyagin" <dmitry.tarnyagin@...kless.no>
Subject: [RESEND PATCH 1/3] net: caif: remove unused hardirq.h
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@...baba-inc.com>
Cc: Dmitry Tarnyagin <dmitry.tarnyagin@...kless.no>
Cc: "David S. Miller" <davem@...emloft.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
Powered by blists - more mailing lists