FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Device-mapper Development

 
 
LinkBack Thread Tools
 
Old 01-15-2012, 07:12 PM
Jesper Juhl
 
Default There's no need to include linux/version.h in drivers/md/dm-bufio.c

As 'make versioncheck' points out, drivers/md/dm-bufio.c has no need
to include linux/version.h, so this patch removes the unneeded
include.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
---
drivers/md/dm-bufio.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/md/dm-bufio.c b/drivers/md/dm-bufio.c
index 0a6806f..b6e58c7 100644
--- a/drivers/md/dm-bufio.c
+++ b/drivers/md/dm-bufio.c
@@ -12,7 +12,6 @@
#include <linux/dm-io.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
-#include <linux/version.h>
#include <linux/shrinker.h>
#include <linux/module.h>

--
1.7.8.3


--
Jesper Juhl <jj@chaosbits.net> http://www.chaosbits.net/
Don't top-post http://www.catb.org/jargon/html/T/top-post.html
Plain text mails only, please.

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 
Old 01-15-2012, 09:29 PM
Mikulas Patocka
 
Default There's no need to include linux/version.h in drivers/md/dm-bufio.c

Acked-by: Mikulas Patocka <mpatocka@redhat.com>

On Sun, 15 Jan 2012, Jesper Juhl wrote:

> As 'make versioncheck' points out, drivers/md/dm-bufio.c has no need
> to include linux/version.h, so this patch removes the unneeded
> include.
>
> Signed-off-by: Jesper Juhl <jj@chaosbits.net>
> ---
> drivers/md/dm-bufio.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/md/dm-bufio.c b/drivers/md/dm-bufio.c
> index 0a6806f..b6e58c7 100644
> --- a/drivers/md/dm-bufio.c
> +++ b/drivers/md/dm-bufio.c
> @@ -12,7 +12,6 @@
> #include <linux/dm-io.h>
> #include <linux/slab.h>
> #include <linux/vmalloc.h>
> -#include <linux/version.h>
> #include <linux/shrinker.h>
> #include <linux/module.h>
>
> --
> 1.7.8.3
>
>
> --
> Jesper Juhl <jj@chaosbits.net> http://www.chaosbits.net/
> Don't top-post http://www.catb.org/jargon/html/T/top-post.html
> Plain text mails only, please.
>

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 
Old 02-03-2012, 08:38 PM
Jiri Kosina
 
Default There's no need to include linux/version.h in drivers/md/dm-bufio.c

On Sun, 15 Jan 2012, Mikulas Patocka wrote:

> Acked-by: Mikulas Patocka <mpatocka@redhat.com>
>
> On Sun, 15 Jan 2012, Jesper Juhl wrote:
>
> > As 'make versioncheck' points out, drivers/md/dm-bufio.c has no need
> > to include linux/version.h, so this patch removes the unneeded
> > include.
> >
> > Signed-off-by: Jesper Juhl <jj@chaosbits.net>
> > ---
> > drivers/md/dm-bufio.c | 1 -
> > 1 files changed, 0 insertions(+), 1 deletions(-)
> >
> > diff --git a/drivers/md/dm-bufio.c b/drivers/md/dm-bufio.c
> > index 0a6806f..b6e58c7 100644
> > --- a/drivers/md/dm-bufio.c
> > +++ b/drivers/md/dm-bufio.c
> > @@ -12,7 +12,6 @@
> > #include <linux/dm-io.h>
> > #include <linux/slab.h>
> > #include <linux/vmalloc.h>
> > -#include <linux/version.h>
> > #include <linux/shrinker.h>
> > #include <linux/module.h>

As this doesn't seem to be present in -next, I am taking it. Thanks,

--
Jiri Kosina
SUSE Labs

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 

Thread Tools




All times are GMT. The time now is 04:39 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org