summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2016-08-09 12:02:53 -0800
committerKent Overstreet <kent.overstreet@gmail.com>2016-08-09 12:02:53 -0800
commit2b03a0afff410d1c176097e25b0871afc0f5a532 (patch)
tree03887304a38b657c4ab45768a6b38675b1c217b0
parentd177a3ab81f46c6f48e73cdcb78b9f015ca42be4 (diff)
bcache: header cleanup
-rw-r--r--drivers/md/bcache/io.h2
-rw-r--r--drivers/md/bcache/super.h3
2 files changed, 1 insertions, 4 deletions
diff --git a/drivers/md/bcache/io.h b/drivers/md/bcache/io.h
index b244161d322a..cb2ef086992f 100644
--- a/drivers/md/bcache/io.h
+++ b/drivers/md/bcache/io.h
@@ -95,6 +95,4 @@ void bch_wake_delayed_writes(unsigned long data);
void bch_bio_decompress_work(struct work_struct *);
-extern struct workqueue_struct *bcache_io_wq;
-
#endif /* _BCACHE_IO_H */
diff --git a/drivers/md/bcache/super.h b/drivers/md/bcache/super.h
index 773065d95114..a75a8af70d68 100644
--- a/drivers/md/bcache/super.h
+++ b/drivers/md/bcache/super.h
@@ -200,8 +200,7 @@ int bch_cache_set_add_cache(struct cache_set *, const char *);
extern struct mutex bch_register_lock;
extern struct list_head bch_cache_sets;
extern struct idr bch_cache_set_minor;
-
-extern wait_queue_head_t unregister_wait;
+extern struct workqueue_struct *bcache_io_wq;
extern struct kobj_type bch_cache_set_ktype;
extern struct kobj_type bch_cache_set_internal_ktype;