[PATCH -next 29/29] md: Revert "md: add a new api prepare_suspend() in md_personality"

Yu Kuai posted 29 patches 2 years, 1 month ago
There is a newer version of this series
[PATCH -next 29/29] md: Revert "md: add a new api prepare_suspend() in md_personality"
Posted by Yu Kuai 2 years, 1 month ago
From: Yu Kuai <yukuai3@huawei.com>

This reverts commit 3e00777d51572bdd75cef29c9c31106b52d7cc8f.

Because this new api is not used anymore.

Signed-off-by: Yu Kuai <yukuai3@huawei.com>
---
 drivers/md/md.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/md/md.h b/drivers/md/md.h
index 492c5a130da3..dbe7f4d0b7d6 100644
--- a/drivers/md/md.h
+++ b/drivers/md/md.h
@@ -633,7 +633,6 @@ struct md_personality
 	int (*start_reshape) (struct mddev *mddev);
 	void (*finish_reshape) (struct mddev *mddev);
 	void (*update_reshape_pos) (struct mddev *mddev);
-	void (*prepare_suspend) (struct mddev *mddev);
 	/* quiesce suspends or resumes internal processing.
 	 * 1 - stop new actions and wait for action io to complete
 	 * 0 - return to normal behaviour
-- 
2.39.2