[PATCH] remove dead code from elevator switching
commitacf421755593f7d7bd9352d57eda796c6eb4fa43
authorDave Jones <davej@redhat.com>
Mon, 12 Jun 2006 12:20:58 +0000 (12 14:20 +0200)
committerJens Axboe <axboe@nelson.home.kernel.dk>
Fri, 23 Jun 2006 15:10:38 +0000 (23 17:10 +0200)
tree08fe234e5a28556ef32d29de1d3045cfe94a931c
parentfda151d9feafc0e8418f23c716587c44394fcdbf
[PATCH] remove dead code from elevator switching

We already drop the refcount in elevator_exit(), and as
we're setting 'e' to NULL, we'll never take that branch anyway.
Finally, as 'e' is a local var that isn't referenced afterwards,
setting it to NULL is pointless.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Jens Axboe <axboe@suse.de>
block/elevator.c