linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] mtd: remove duplicated include from mtdcore.c
@ 2013-10-30  5:34 Wei Yongjun
  2013-10-30  9:56 ` Ezequiel Garcia
  0 siblings, 1 reply; 3+ messages in thread
From: Wei Yongjun @ 2013-10-30  5:34 UTC (permalink / raw)
  To: dwmw2; +Cc: yongjun_wei, linux-mtd, linux-kernel

From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>

Remove duplicated include.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
---
 drivers/mtd/mtdcore.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c
index 7189089..92311a5 100644
--- a/drivers/mtd/mtdcore.c
+++ b/drivers/mtd/mtdcore.c
@@ -37,7 +37,6 @@
 #include <linux/backing-dev.h>
 #include <linux/gfp.h>
 #include <linux/slab.h>
-#include <linux/major.h>
 
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/partitions.h>

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

* Re: [PATCH -next] mtd: remove duplicated include from mtdcore.c
  2013-10-30  5:34 [PATCH -next] mtd: remove duplicated include from mtdcore.c Wei Yongjun
@ 2013-10-30  9:56 ` Ezequiel Garcia
  2013-10-30 21:37   ` Brian Norris
  0 siblings, 1 reply; 3+ messages in thread
From: Ezequiel Garcia @ 2013-10-30  9:56 UTC (permalink / raw)
  To: Wei Yongjun; +Cc: linux-mtd, yongjun_wei, dwmw2, linux-kernel

On Wed, Oct 30, 2013 at 01:34:22PM +0800, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
> 
> Remove duplicated include.
> 
> Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
> ---
>  drivers/mtd/mtdcore.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c
> index 7189089..92311a5 100644
> --- a/drivers/mtd/mtdcore.c
> +++ b/drivers/mtd/mtdcore.c
> @@ -37,7 +37,6 @@
>  #include <linux/backing-dev.h>
>  #include <linux/gfp.h>
>  #include <linux/slab.h>
> -#include <linux/major.h>
>  
>  #include <linux/mtd/mtd.h>
>  #include <linux/mtd/partitions.h>
> 
> 

Acked-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>

Ooops.. sorry about that. This was introduced by me in this one:

commit 40d1b2e461f28c4add582ef7ca8ed9f16f6b5add
Author: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Date:   Sun Oct 13 18:05:23 2013 -0300

mtd: Move major number definitions to major.h
-- 
Ezequiel García, Free Electrons
Embedded Linux, Kernel and Android Engineering
http://free-electrons.com

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

* Re: [PATCH -next] mtd: remove duplicated include from mtdcore.c
  2013-10-30  9:56 ` Ezequiel Garcia
@ 2013-10-30 21:37   ` Brian Norris
  0 siblings, 0 replies; 3+ messages in thread
From: Brian Norris @ 2013-10-30 21:37 UTC (permalink / raw)
  To: Ezequiel Garcia; +Cc: linux-mtd, yongjun_wei, Wei Yongjun, dwmw2, linux-kernel

On Wed, Oct 30, 2013 at 06:56:41AM -0300, Ezequiel Garcia wrote:
> On Wed, Oct 30, 2013 at 01:34:22PM +0800, Wei Yongjun wrote:
> > From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
> > 
> > Remove duplicated include.
> > 
> > Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
> > ---
> >  drivers/mtd/mtdcore.c | 1 -
> >  1 file changed, 1 deletion(-)
> > 
> > diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c
> > index 7189089..92311a5 100644
> > --- a/drivers/mtd/mtdcore.c
> > +++ b/drivers/mtd/mtdcore.c
> > @@ -37,7 +37,6 @@
> >  #include <linux/backing-dev.h>
> >  #include <linux/gfp.h>
> >  #include <linux/slab.h>
> > -#include <linux/major.h>
> >  
> >  #include <linux/mtd/mtd.h>
> >  #include <linux/mtd/partitions.h>
> > 
> > 
> 
> Acked-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>

Pushed to l2-mtd.git, thanks Wei! It probably could just be squashed
into the original patch, but I'm not sure it's actually worth the
rebase.

Brian

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

end of thread, other threads:[~2013-10-30 21:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-30  5:34 [PATCH -next] mtd: remove duplicated include from mtdcore.c Wei Yongjun
2013-10-30  9:56 ` Ezequiel Garcia
2013-10-30 21:37   ` Brian Norris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).