From e0ab6ad4bcd0cbe6c6cfe90836352c8daf078509 Mon Sep 17 00:00:00 2001 From: Andreas Gruenbacher Date: Wed, 6 Apr 2011 17:18:29 +0200 Subject: [PATCH] drbd: drbd_init_ee() no longer exists Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- drivers/block/drbd/drbd_main.c | 4 ---- drivers/block/drbd/drbd_receiver.c | 1 - 2 files changed, 5 deletions(-) diff --git a/drivers/block/drbd/drbd_main.c b/drivers/block/drbd/drbd_main.c index e1aef12e5091..4f451b978cf3 100644 --- a/drivers/block/drbd/drbd_main.c +++ b/drivers/block/drbd/drbd_main.c @@ -2031,10 +2031,6 @@ void drbd_mdev_cleanup(struct drbd_conf *mdev) drbd_free_resources(mdev); clear_bit(AL_SUSPENDED, &mdev->flags); - /* - * currently we drbd_init_ee only on module load, so - * we may do drbd_release_ee only on module unload! - */ D_ASSERT(list_empty(&mdev->active_ee)); D_ASSERT(list_empty(&mdev->sync_ee)); D_ASSERT(list_empty(&mdev->done_ee)); diff --git a/drivers/block/drbd/drbd_receiver.c b/drivers/block/drbd/drbd_receiver.c index b2782b0c7d8f..2c157257a035 100644 --- a/drivers/block/drbd/drbd_receiver.c +++ b/drivers/block/drbd/drbd_receiver.c @@ -309,7 +309,6 @@ You need to hold the req_lock: You must not have the req_lock: drbd_free_ee() drbd_alloc_ee() - drbd_init_ee() drbd_release_ee() drbd_ee_fix_bhs() drbd_process_done_ee() -- 2.20.1