md: use wait_event() to simplify md_super_wait()
authorNeilBrown <neilb@suse.de>
Tue, 9 Sep 2014 04:20:28 +0000 (14:20 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 14 Oct 2014 02:08:28 +0000 (13:08 +1100)
commit1967cd5616c4792ef9d3cbaafe5fbe12fc429c9e
tree2345878c17c5e2e4e133a85902fa32680e484dc0
parent9ba3b7f5d025915be2b8709e5fd35c9c3e9f14c6
md: use wait_event() to simplify md_super_wait()

md_super_wait is really just wait_event() open-coded.
So use the macro instead.

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