Commit 5ff904d5 authored by Alan Cox's avatar Alan Cox Committed by David S. Miller

llc: switch type to bool as the timeout is only tested versus 0

(As asked by Dave in Februrary)
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 19664c6a
...@@ -38,7 +38,7 @@ static u16 llc_ui_sap_link_no_max[256]; ...@@ -38,7 +38,7 @@ static u16 llc_ui_sap_link_no_max[256];
static struct sockaddr_llc llc_ui_addrnull; static struct sockaddr_llc llc_ui_addrnull;
static const struct proto_ops llc_ui_ops; static const struct proto_ops llc_ui_ops;
static long llc_ui_wait_for_conn(struct sock *sk, long timeout); static bool llc_ui_wait_for_conn(struct sock *sk, long timeout);
static int llc_ui_wait_for_disc(struct sock *sk, long timeout); static int llc_ui_wait_for_disc(struct sock *sk, long timeout);
static int llc_ui_wait_for_busy_core(struct sock *sk, long timeout); static int llc_ui_wait_for_busy_core(struct sock *sk, long timeout);
...@@ -551,7 +551,7 @@ static int llc_ui_wait_for_disc(struct sock *sk, long timeout) ...@@ -551,7 +551,7 @@ static int llc_ui_wait_for_disc(struct sock *sk, long timeout)
return rc; return rc;
} }
static long llc_ui_wait_for_conn(struct sock *sk, long timeout) static bool llc_ui_wait_for_conn(struct sock *sk, long timeout)
{ {
DEFINE_WAIT(wait); DEFINE_WAIT(wait);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment