Skip to contentSkip to conversation

dm cache policy smq: remove duplicated include from dm-cache-policy-smq.c

PATCH In review Wei Yongjun 2 participants 2 messages Sep 17, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dm cache policy smq: remove duplicated include from dm-cache-policy-smq.c

From: Wei Yongjun <[email protected]>

Remove duplicated include.

---
 drivers/md/dm-cache-policy-smq.c | 1 -
 1 file changed, 1 deletion(-)
drivers/md/dm-cache-policy-smq.c +0 -1
index 8de5bd9..c33f4a6 100644
@@ -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"
 
#1 lore raw
Quoted 14 lines · Wei Yongjun

From: Wei Yongjun <[email protected]>

Remove duplicated include.

---
 drivers/md/dm-cache-policy-smq.c | 1 -
 1 file changed, 1 deletion(-)
drivers/md/dm-cache-policy-smq.c +0 -0
index 8de5bd9..c33f4a6 100644

drivers/md/dm-cache-policy-smq.c line 18

Quoted 6 lines
drivers/md/dm-cache-policy-smq.c +0 -1
@@ -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.