summaryrefslogtreecommitdiff
path: root/libbcache/notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbcache/notify.c')
-rw-r--r--libbcache/notify.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/libbcache/notify.c b/libbcache/notify.c
index 1d5f626f..b06a8749 100644
--- a/libbcache/notify.c
+++ b/libbcache/notify.c
@@ -94,33 +94,6 @@ void bch_notify_dev_added(struct bch_dev *ca)
notify_put(c);
}
-void bch_notify_dev_removing(struct bch_dev *ca)
-{
- struct bch_fs *c = ca->fs;
-
- notify_get_cache(ca);
- notify_var(c, "STATE=removing");
- notify_put(c);
-}
-
-void bch_notify_dev_remove_failed(struct bch_dev *ca)
-{
- struct bch_fs *c = ca->fs;
-
- notify_get_cache(ca);
- notify_var(c, "STATE=remove_failed");
- notify_put(c);
-}
-
-void bch_notify_dev_removed(struct bch_dev *ca)
-{
- struct bch_fs *c = ca->fs;
-
- notify_get_cache(ca);
- notify_var(c, "STATE=removed");
- notify_put(c);
-}
-
void bch_notify_dev_error(struct bch_dev *ca, bool fatal)
{
struct bch_fs *c = ca->fs;