[ovs-dev] [RESEND PATCH 2/3] net: ovs: remove unused hardirq.h

Yang Shi yang.s at alibaba-inc.com
Mon Jan 8 19:52:53 UTC 2018


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 at alibaba-inc.com>
Acked-by: Pravin B Shelar <pshelar at ovn.org>
Cc: "David S. Miller" <davem at davemloft.net>
Cc: dev at openvswitch.org
---
 net/openvswitch/vport-internal_dev.c | 1 -
 1 file changed, 1 deletion(-)

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>
-- 
1.8.3.1



More information about the dev mailing list