2015-04-16 13:10:37

by weiyj_lk

[permalink] [raw]
Subject: [PATCH -next] kdbus: remove unused including <linux/version.h>

From: Wei Yongjun <[email protected]>

Remove including <linux/version.h> that don't need it.

Signed-off-by: Wei Yongjun <[email protected]>
---
ipc/kdbus/metadata.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/ipc/kdbus/metadata.c b/ipc/kdbus/metadata.c
index 06e0a54..882bc99 100644
--- a/ipc/kdbus/metadata.c
+++ b/ipc/kdbus/metadata.c
@@ -29,7 +29,6 @@
#include <linux/uidgid.h>
#include <linux/uio.h>
#include <linux/user_namespace.h>
-#include <linux/version.h>

#include "bus.h"
#include "connection.h"


2015-04-16 13:12:22

by David Herrmann

[permalink] [raw]
Subject: Re: [PATCH -next] kdbus: remove unused including <linux/version.h>

Hi

On Thu, Apr 16, 2015 at 3:07 PM, <[email protected]> wrote:
> From: Wei Yongjun <[email protected]>
>
> Remove including <linux/version.h> that don't need it.
>
> Signed-off-by: Wei Yongjun <[email protected]>
> ---
> ipc/kdbus/metadata.c | 1 -
> 1 file changed, 1 deletion(-)

Indeed, this is a left-over from the 3.19-transition.

Reviewed-by: David Herrmann <[email protected]>

Thanks
David

> diff --git a/ipc/kdbus/metadata.c b/ipc/kdbus/metadata.c
> index 06e0a54..882bc99 100644
> --- a/ipc/kdbus/metadata.c
> +++ b/ipc/kdbus/metadata.c
> @@ -29,7 +29,6 @@
> #include <linux/uidgid.h>
> #include <linux/uio.h>
> #include <linux/user_namespace.h>
> -#include <linux/version.h>
>
> #include "bus.h"
> #include "connection.h"
>