[PATCH] staging: unisys: remove duplicate header

Jeremiah Mahler jmmahler at gmail.com
Tue Dec 2 09:46:54 UTC 2014


Sudip,

On Tue, Dec 02, 2014 at 02:34:58PM +0530, Sudip Mukherjee wrote:
> these header files were included two times
> 
> Signed-off-by: Sudip Mukherjee <sudip at vectorindia.org>
> ---
>  drivers/staging/unisys/include/timskmod.h | 1 -
>  drivers/staging/unisys/uislib/uisutils.c  | 1 -
>  2 files changed, 2 deletions(-)
> 
> diff --git a/drivers/staging/unisys/include/timskmod.h b/drivers/staging/unisys/include/timskmod.h
> index de11f44..cff7983 100644
> --- a/drivers/staging/unisys/include/timskmod.h
> +++ b/drivers/staging/unisys/include/timskmod.h
> @@ -31,7 +31,6 @@
>  #include <linux/slab.h>
>  #include <linux/errno.h>
>  #include <linux/interrupt.h>
> -#include <linux/sched.h>
>  #include <linux/wait.h>
>  #include <linux/vmalloc.h>
>  #include <linux/proc_fs.h>
> diff --git a/drivers/staging/unisys/uislib/uisutils.c b/drivers/staging/unisys/uislib/uisutils.c
> index a8466e3..7149add 100644
> --- a/drivers/staging/unisys/uislib/uisutils.c
> +++ b/drivers/staging/unisys/uislib/uisutils.c
> @@ -27,7 +27,6 @@
>  #include "vbushelper.h"
>  #include <linux/uuid.h>
>  #include <linux/skbuff.h>
> -#include <linux/uuid.h>
>  #ifdef CONFIG_HIGHMEM
>  #include <linux/highmem.h>
>  #endif

There are two duplicates of the second one.  Lines: 21, 28 and 30.

Good find :)

-- 
- Jeremiah Mahler


More information about the devel mailing list