2018-09-19 12:59:32

by Pankaj Gupta

[permalink] [raw]
Subject: [PATCH] libnvdimm: remove duplicate include

Removed duplicate include.

Signed-off-by: Pankaj Gupta <[email protected]>
---
drivers/nvdimm/nd-core.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/nvdimm/nd-core.h b/drivers/nvdimm/nd-core.h
index ac68072fb8cd..182258f64417 100644
--- a/drivers/nvdimm/nd-core.h
+++ b/drivers/nvdimm/nd-core.h
@@ -14,7 +14,6 @@
#define __ND_CORE_H__
#include <linux/libnvdimm.h>
#include <linux/device.h>
-#include <linux/libnvdimm.h>
#include <linux/sizes.h>
#include <linux/mutex.h>
#include <linux/nd.h>
--
2.14.3



2018-09-22 00:25:37

by Dan Williams

[permalink] [raw]
Subject: Re: [PATCH] libnvdimm: remove duplicate include

On Wed, Sep 19, 2018 at 5:59 AM Pankaj Gupta <[email protected]> wrote:
>
> Removed duplicate include.
>
> Signed-off-by: Pankaj Gupta <[email protected]>
> ---
> drivers/nvdimm/nd-core.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/nvdimm/nd-core.h b/drivers/nvdimm/nd-core.h
> index ac68072fb8cd..182258f64417 100644
> --- a/drivers/nvdimm/nd-core.h
> +++ b/drivers/nvdimm/nd-core.h
> @@ -14,7 +14,6 @@
> #define __ND_CORE_H__
> #include <linux/libnvdimm.h>
> #include <linux/device.h>
> -#include <linux/libnvdimm.h>
> #include <linux/sizes.h>
> #include <linux/mutex.h>
> #include <linux/nd.h>

Looks good, applied.