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: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NEli Billauer <eli.billauer@gmail.com> Reviewed-by: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录