2019-03-11 15:45:12

by Sabyasachi Gupta

[permalink] [raw]
Subject: [PATCH] fs/coda/psdev.c: Remove duplicate header

Remove linux/poll.h which is included more than once

Signed-off-by: Sabyasachi Gupta <[email protected]>
---
fs/coda/psdev.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/fs/coda/psdev.c b/fs/coda/psdev.c
index c5234c2..f2bb798 100644
--- a/fs/coda/psdev.c
+++ b/fs/coda/psdev.c
@@ -39,7 +39,6 @@
#include <linux/device.h>
#include <linux/pid_namespace.h>
#include <asm/io.h>
-#include <linux/poll.h>
#include <linux/uaccess.h>

#include <linux/coda.h>
--
2.7.4



2019-03-11 16:05:24

by Souptick Joarder

[permalink] [raw]
Subject: Re: [PATCH] fs/coda/psdev.c: Remove duplicate header

On Mon, Mar 11, 2019 at 9:13 PM Sabyasachi Gupta
<[email protected]> wrote:
>
> Remove linux/poll.h which is included more than once
>
> Signed-off-by: Sabyasachi Gupta <[email protected]>

Acked-by: Souptick Joarder <[email protected]>

> ---
> fs/coda/psdev.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/fs/coda/psdev.c b/fs/coda/psdev.c
> index c5234c2..f2bb798 100644
> --- a/fs/coda/psdev.c
> +++ b/fs/coda/psdev.c
> @@ -39,7 +39,6 @@
> #include <linux/device.h>
> #include <linux/pid_namespace.h>
> #include <asm/io.h>
> -#include <linux/poll.h>
> #include <linux/uaccess.h>
>
> #include <linux/coda.h>
> --
> 2.7.4
>