[dm-devel] [PATCH] There's no need to include linux/version.h in drivers/md/dm-bufio.c

Jiri Kosina jkosina at suse.cz
Fri Feb 3 21:38:56 UTC 2012


On Sun, 15 Jan 2012, Mikulas Patocka wrote:

> Acked-by: Mikulas Patocka <mpatocka at 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 at 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




More information about the dm-devel mailing list