diff options
author | Shaohua Li <shli@fb.com> | 2017-02-23 12:31:10 -0800 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2017-03-09 09:01:29 -0800 |
commit | 99b3d74ec05c4a4c57766a90d65b53d78ab06404 (patch) | |
tree | fa8a7d4159420d94ff3419f9a1d43e24ea1fb408 /drivers/md/md.c | |
parent | 6d399783e9d4e9bd44931501948059d24ad96ff8 (diff) | |
download | linux-99b3d74ec05c4a4c57766a90d65b53d78ab06404.tar.gz linux-99b3d74ec05c4a4c57766a90d65b53d78ab06404.tar.bz2 linux-99b3d74ec05c4a4c57766a90d65b53d78ab06404.zip |
md: delete dead code
Nobody is using mddev_check_plugged(), so delete the dead code
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r-- | drivers/md/md.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index 548d1b8014f8..82bd1f3d2b19 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c @@ -440,14 +440,6 @@ void md_flush_request(struct mddev *mddev, struct bio *bio) } EXPORT_SYMBOL(md_flush_request); -void md_unplug(struct blk_plug_cb *cb, bool from_schedule) -{ - struct mddev *mddev = cb->data; - md_wakeup_thread(mddev->thread); - kfree(cb); -} -EXPORT_SYMBOL(md_unplug); - static inline struct mddev *mddev_get(struct mddev *mddev) { atomic_inc(&mddev->active); |