diff options
author | Jörn Engel <joern@logfs.org> | 2012-04-13 01:33:25 +0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-05-17 13:08:53 +0400 |
commit | 3f0c6aba0b65a68013c1e0db1b015f02e6ec24be (patch) | |
tree | 9af2cdcfa608b794d783674f1e68129cf6d2d31d /drivers/edac/mpc85xx_edac.c | |
parent | 794c10fa0fa4d1781c5651c31e3d4d0b71629128 (diff) | |
download | linux-3f0c6aba0b65a68013c1e0db1b015f02e6ec24be.tar.xz |
[SCSI] sg: use wait_event_interruptible()
Afaics the use of __wait_event_interruptible() as opposed to
wait_event_interruptible() is purely historic. So let's follow the rest
of the kernel and check the condition before prepare_to_wait() - and
also make the code a bit nicer.
Signed-off-by: Joern Engel <joern@logfs.org>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/edac/mpc85xx_edac.c')
0 files changed, 0 insertions, 0 deletions