summaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorJens Axboe <jaxboe@fusionio.com>2011-04-18 09:54:05 +0200
committerJens Axboe <jaxboe@fusionio.com>2011-04-18 09:54:05 +0200
commitb4cb290e0a7d19235bd075c2ad4d60dbab0bac15 (patch)
tree2674fc5e3d0ee76e8b8205ab771fe7bbed173a88 /block/blk-core.c
parent048c9374a749a27f16493cea033fa4a8ff492356 (diff)
downloadlinux-b4cb290e0a7d19235bd075c2ad4d60dbab0bac15.tar.gz
linux-b4cb290e0a7d19235bd075c2ad4d60dbab0bac15.tar.bz2
linux-b4cb290e0a7d19235bd075c2ad4d60dbab0bac15.zip
Revert "block: add callback function for unplug notification"
MD can't use this since it really requires us to be able to keep more than a single piece of state for the unplug. Commit 048c9374 added the required support for MD, so get rid of this now unused code. This reverts commit f75664570d8b75469cc468f23c2b27220984983b. Conflicts: block/blk-core.c Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'block/blk-core.c')
-rw-r--r--block/blk-core.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index 77edf0512338..09b262811fff 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -2674,9 +2674,6 @@ static void queue_unplugged(struct request_queue *q, unsigned int depth,
{
trace_block_unplug(q, depth, !from_schedule);
__blk_run_queue(q, from_schedule);
-
- if (q->unplugged_fn)
- q->unplugged_fn(q);
}
static void flush_plug_callbacks(struct blk_plug *plug)