Skip to contentSkip to conversation

bcache: Remove duplicate inclusion of blkdev.h

PATCH Applied Masanari Iida 2 participants 2 messages Feb 26, 2017 bcache (block layer cache)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bcache: Remove duplicate inclusion of blkdev.h

This patch remove duplicate inclusion of blkdev.h in util.h. Confirm compile successfully after remove the line.

---
 drivers/md/bcache/util.h | 1 -
 1 file changed, 1 deletion(-)
drivers/md/bcache/util.h +0 -1
index cf2cbc211d83..03af094d0202 100644
@@ -4,7 +4,6 @@
 
 #include <linux/blkdev.h>
 #include <linux/errno.h>
-#include <linux/blkdev.h>
 #include <linux/kernel.h>
 #include <linux/llist.h>
 #include <linux/ratelimit.h>
Signature · 1 line
2.12.0
Acked-by on v1 1/1
#1 lore raw
Quoted 14 lines · Masanari Iida

This patch remove duplicate inclusion of blkdev.h in util.h. Confirm compile successfully after remove the line.

---
 drivers/md/bcache/util.h | 1 -
 1 file changed, 1 deletion(-)
drivers/md/bcache/util.h +0 -0
index cf2cbc211d83..03af094d0202 100644

drivers/md/bcache/util.h line 9

Quoted 7 lines
drivers/md/bcache/util.h +0 -1
@@ -4,7 +4,6 @@
 
 #include <linux/blkdev.h>
 #include <linux/errno.h>
-#include <linux/blkdev.h>
 #include <linux/kernel.h>
 #include <linux/llist.h>
 #include <linux/ratelimit.h>
Signature · 1 line
Coly Li