public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: unisys: remove duplicate header
@ 2014-12-02  9:04 Sudip Mukherjee
  2014-12-02  9:46 ` Jeremiah Mahler
  0 siblings, 1 reply; 3+ messages in thread
From: Sudip Mukherjee @ 2014-12-02  9:04 UTC (permalink / raw)
  To: Benjamin Romer, David Kershner, Greg Kroah-Hartman
  Cc: Sudip Mukherjee, sparmaintainer, devel, linux-kernel

these header files were included two times

Signed-off-by: Sudip Mukherjee <sudip@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
-- 
1.8.1.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] staging: unisys: remove duplicate header
  2014-12-02  9:04 [PATCH] staging: unisys: remove duplicate header Sudip Mukherjee
@ 2014-12-02  9:46 ` Jeremiah Mahler
  2014-12-02 10:39   ` Sudip Mukherjee
  0 siblings, 1 reply; 3+ messages in thread
From: Jeremiah Mahler @ 2014-12-02  9:46 UTC (permalink / raw)
  To: Sudip Mukherjee
  Cc: Benjamin Romer, David Kershner, Greg Kroah-Hartman,
	sparmaintainer, devel, linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] staging: unisys: remove duplicate header
  2014-12-02  9:46 ` Jeremiah Mahler
@ 2014-12-02 10:39   ` Sudip Mukherjee
  0 siblings, 0 replies; 3+ messages in thread
From: Sudip Mukherjee @ 2014-12-02 10:39 UTC (permalink / raw)
  To: Jeremiah Mahler, Benjamin Romer, David Kershner,
	Greg Kroah-Hartman, sparmaintainer, devel, linux-kernel

On Tue, Dec 02, 2014 at 01:46:54AM -0800, Jeremiah Mahler wrote:
> 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@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.

oops ... missed that
i will send a v2

thanks
sudip
> 
> Good find :
> 
> -- 
> - Jeremiah Mahler

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-12-02 10:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-02  9:04 [PATCH] staging: unisys: remove duplicate header Sudip Mukherjee
2014-12-02  9:46 ` Jeremiah Mahler
2014-12-02 10:39   ` Sudip Mukherjee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox