md: remove needless setting of thread->timeout in raid10_quiesce
authorNeilBrown <neilb@suse.de>
Mon, 14 Dec 2009 01:49:54 +0000 (12:49 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 14 Dec 2009 01:51:41 +0000 (12:51 +1100)
commit9cd30fdc33cde9ae4ac55a1ccbbb89f3f7b9b2f2
treeb6a4e0303fe3261892f24f26d7ecebf06a6be1a9
parent1b04be96f6910ee415287bf0d5309c7d4c94bd2b
md: remove needless setting of thread->timeout in raid10_quiesce

As bitmap_create and bitmap_destroy already set thread->timeout
as appropriate, there is no need to do it in raid10_quiesce.
There is a possible need to wake the thread after the timeout
has been set low, but it is better to do that where the timeout
is actually set low, in bitmap_create.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/bitmap.c
drivers/md/raid10.c