staging: xillybus: Use the return value of wait_event_interruptible
authorEli Billauer <eli.billauer@gmail.com>
Thu, 4 Sep 2014 14:47:49 +0000 (17:47 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Sep 2014 20:58:19 +0000 (13:58 -0700)
commitae870e5d04f4ebc6c27e76652dccb6bacc6e1e8e
treed7a9504562f81cd5783a15fe7f1812e5843dc513
parent40931bbbfe7361d873b235e0667481c47796890a
staging: xillybus: Use the return value of wait_event_interruptible

Rather than checking the wait condition, the return value of
wait_event_interruptible() and wait_event_interruptible_timeout() is
used.

Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Eli Billauer <eli.billauer@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xillybus/xillybus_core.c