lkml.org 
[lkml]   [2011]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 1/9] staging: hv: remove unnecessary includes in netvsc
    Date
    hyperv.h is included by hyperv_net.h already, so no need to include it
    again in these C files.

    Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
    Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
    ---
    drivers/staging/hv/netvsc.c | 1 -
    drivers/staging/hv/netvsc_drv.c | 1 -
    drivers/staging/hv/rndis_filter.c | 1 -
    3 files changed, 0 insertions(+), 3 deletions(-)

    diff --git a/drivers/staging/hv/netvsc.c b/drivers/staging/hv/netvsc.c
    index 16a80b1..c3cc880 100644
    --- a/drivers/staging/hv/netvsc.c
    +++ b/drivers/staging/hv/netvsc.c
    @@ -29,7 +29,6 @@
    #include <linux/io.h>
    #include <linux/slab.h>

    -#include "hyperv.h"
    #include "hyperv_net.h"


    diff --git a/drivers/staging/hv/netvsc_drv.c b/drivers/staging/hv/netvsc_drv.c
    index 474c5f0..1325de4 100644
    --- a/drivers/staging/hv/netvsc_drv.c
    +++ b/drivers/staging/hv/netvsc_drv.c
    @@ -38,7 +38,6 @@
    #include <net/sock.h>
    #include <net/pkt_sched.h>

    -#include "hyperv.h"
    #include "hyperv_net.h"

    static const char *driver_name = "netvsc";
    diff --git a/drivers/staging/hv/rndis_filter.c b/drivers/staging/hv/rndis_filter.c
    index 6db48b9..8416bf2 100644
    --- a/drivers/staging/hv/rndis_filter.c
    +++ b/drivers/staging/hv/rndis_filter.c
    @@ -27,7 +27,6 @@
    #include <linux/if_ether.h>
    #include <linux/netdevice.h>

    -#include "hyperv.h"
    #include "hyperv_net.h"


    --
    1.6.3.2


    \
     
     \ /
      Last update: 2011-07-21 19:01    [W:0.029 / U:153.376 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site