* [PATCH -next] dm cache policy smq: remove duplicated include from dm-cache-policy-smq.c
@ 2016-09-17 4:48 Wei Yongjun
2016-09-17 14:37 ` Mike Snitzer
0 siblings, 1 reply; 2+ messages in thread
From: Wei Yongjun @ 2016-09-17 4:48 UTC (permalink / raw)
To: Alasdair Kergon, Mike Snitzer, Shaohua Li
Cc: Wei Yongjun, dm-devel, linux-raid
From: Wei Yongjun <weiyongjun1@huawei.com>
Remove duplicated include.
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
---
drivers/md/dm-cache-policy-smq.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/md/dm-cache-policy-smq.c b/drivers/md/dm-cache-policy-smq.c
index 8de5bd9..c33f4a6 100644
--- a/drivers/md/dm-cache-policy-smq.c
+++ b/drivers/md/dm-cache-policy-smq.c
@@ -14,7 +14,6 @@
#include <linux/mutex.h>
#include <linux/vmalloc.h>
#include <linux/math64.h>
-#include <linux/hash.h>
#define DM_MSG_PREFIX "cache-policy-smq"
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] dm cache policy smq: remove duplicated include from dm-cache-policy-smq.c
2016-09-17 4:48 [PATCH -next] dm cache policy smq: remove duplicated include from dm-cache-policy-smq.c Wei Yongjun
@ 2016-09-17 14:37 ` Mike Snitzer
0 siblings, 0 replies; 2+ messages in thread
From: Mike Snitzer @ 2016-09-17 14:37 UTC (permalink / raw)
To: Wei Yongjun
Cc: Alasdair Kergon, Shaohua Li, Wei Yongjun, dm-devel, linux-raid
On Sat, Sep 17 2016 at 12:48P -0400,
Wei Yongjun <weiyj.lk@gmail.com> wrote:
> From: Wei Yongjun <weiyongjun1@huawei.com>
>
> Remove duplicated include.
>
> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
> ---
> drivers/md/dm-cache-policy-smq.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/md/dm-cache-policy-smq.c b/drivers/md/dm-cache-policy-smq.c
> index 8de5bd9..c33f4a6 100644
> --- a/drivers/md/dm-cache-policy-smq.c
> +++ b/drivers/md/dm-cache-policy-smq.c
> @@ -14,7 +14,6 @@
> #include <linux/mutex.h>
> #include <linux/vmalloc.h>
> #include <linux/math64.h>
> -#include <linux/hash.h>
>
> #define DM_MSG_PREFIX "cache-policy-smq"
I resolved this by fixing the original commit (where I added hash.h
without realizing it was already included).
But thanks for the report.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-09-17 14:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-17 4:48 [PATCH -next] dm cache policy smq: remove duplicated include from dm-cache-policy-smq.c Wei Yongjun
2016-09-17 14:37 ` Mike Snitzer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.