diff mbox series

[RESEND,2/3] net: ovs: remove unused hardirq.h

Message ID 1515441174-122496-2-git-send-email-yang.s@alibaba-inc.com
State Accepted, archived
Delegated to: David Miller
Headers show
Series [RESEND,1/3] net: caif: remove unused hardirq.h | expand

Commit Message

Yang Shi Jan. 8, 2018, 7:52 p.m. UTC
Preempt counter APIs have been split out, currently, hardirq.h just
includes irq_enter/exit APIs which are not used by openvswitch at all.

So, remove the unused hardirq.h.

Signed-off-by: Yang Shi <yang.s@alibaba-inc.com>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: dev@openvswitch.org
---
 net/openvswitch/vport-internal_dev.c | 1 -
 1 file changed, 1 deletion(-)

Comments

David Miller Jan. 9, 2018, 1:59 a.m. UTC | #1
From: "Yang Shi" <yang.s@alibaba-inc.com>
Date: Tue, 09 Jan 2018 03:52:53 +0800

> Preempt counter APIs have been split out, currently, hardirq.h just
> includes irq_enter/exit APIs which are not used by openvswitch at all.
> 
> So, remove the unused hardirq.h.
> 
> Signed-off-by: Yang Shi <yang.s@alibaba-inc.com>
> Acked-by: Pravin B Shelar <pshelar@ovn.org>

Applied.
diff mbox series

Patch

diff --git a/net/openvswitch/vport-internal_dev.c b/net/openvswitch/vport-internal_dev.c
index 04a3128..2f47c65 100644
--- a/net/openvswitch/vport-internal_dev.c
+++ b/net/openvswitch/vport-internal_dev.c
@@ -16,7 +16,6 @@ 
  * 02110-1301, USA
  */
 
-#include <linux/hardirq.h>
 #include <linux/if_vlan.h>
 #include <linux/kernel.h>
 #include <linux/netdevice.h>