staging: SLICOSS: remove duplicated #include's - Kernel

This is a discussion on staging: SLICOSS: remove duplicated #include's - Kernel ; Removed duplicated #include's in drivers/staging/slicoss/slicoss.c. linux/delay.h linux/etherdevice.h linux/init.h linux/netdevice.h linux/pci.h linux/skbuff.h linux/slab.h linux/string.h Signed-off-by: Huang Weiyi diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss index b61ac4b..059f7e3 100644 --- a/drivers/staging/slicoss/slicoss.c +++ b/drivers/staging/slicoss/slicoss.c @@ -96,17 +96,9 @@ #include #include -#include -#include -#include -#include #include -#include -#include ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: staging: SLICOSS: remove duplicated #include's

  1. staging: SLICOSS: remove duplicated #include's

    Removed duplicated #include's in drivers/staging/slicoss/slicoss.c.
    linux/delay.h
    linux/etherdevice.h
    linux/init.h
    linux/netdevice.h
    linux/pci.h
    linux/skbuff.h
    linux/slab.h
    linux/string.h

    Signed-off-by: Huang Weiyi

    diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss
    index b61ac4b..059f7e3 100644
    --- a/drivers/staging/slicoss/slicoss.c
    +++ b/drivers/staging/slicoss/slicoss.c
    @@ -96,17 +96,9 @@
    #include

    #include
    -#include
    -#include
    -#include
    -#include
    #include
    -#include
    -#include
    #include
    #include
    -#include
    -#include
    #include

    #include


    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  2. Re: staging: SLICOSS: remove duplicated #include's

    On Sat, Oct 18, 2008 at 11:52:11AM +0800, Huang Weiyi wrote:
    > Removed duplicated #include's in drivers/staging/slicoss/slicoss.c.
    > linux/delay.h
    > linux/etherdevice.h
    > linux/init.h
    > linux/netdevice.h
    > linux/pci.h
    > linux/skbuff.h
    > linux/slab.h
    > linux/string.h


    Do you have some script that you run to catch all of these?

    thanks,

    greg k-h
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

+ Reply to Thread