[ovs-dev,4/8] datapath: remove unused hardirq.h

Message ID 1518650290-31536-5-git-send-email-gvrose8192@gmail.com
State Accepted
Headers show
Series
  • Linux upstream kernel backports and updates
Related show

Commit Message

Gregory Rose Feb. 14, 2018, 11:18 p.m.
From: Yang Shi <yang.s@alibaba-inc.com>

Upstream commit:
    commit 419091f1cc8afce943fd12af0df26201ee20c1c0
    Author: Yang Shi <yang.s@alibaba-inc.com>
    Date:   Tue Jan 9 03:52:53 2018 +0800

    net: ovs: 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 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
    Signed-off-by: David S. Miller <davem@davemloft.net>

Cc: Yang Shi <yang.s@alibaba-inc.com>
Signed-off-by: Greg Rose <gvrose8192@gmail.com>
---
 datapath/vport-internal_dev.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Yang Shi Feb. 14, 2018, 11:36 p.m. | #1
On 2/14/18 3:18 PM, Greg Rose wrote:
> From: Yang Shi <yang.s@alibaba-inc.com>
> 
> Upstream commit:
>      commit 419091f1cc8afce943fd12af0df26201ee20c1c0
>      Author: Yang Shi <yang.s@alibaba-inc.com>
>      Date:   Tue Jan 9 03:52:53 2018 +0800
> 
>      net: ovs: 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 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
>      Signed-off-by: David S. Miller <davem@davemloft.net>
> 
> Cc: Yang Shi <yang.s@alibaba-inc.com>


Acked-by: Yang Shi <yang.shi@linux.alibaba.com>


> Signed-off-by: Greg Rose <gvrose8192@gmail.com>
> ---
>   datapath/vport-internal_dev.c | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/datapath/vport-internal_dev.c b/datapath/vport-internal_dev.c
> index 9bb8751..f48684b 100644
> --- a/datapath/vport-internal_dev.c
> +++ b/datapath/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>
>

Patch

diff --git a/datapath/vport-internal_dev.c b/datapath/vport-internal_dev.c
index 9bb8751..f48684b 100644
--- a/datapath/vport-internal_dev.c
+++ b/datapath/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>