X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Frxrpc%2Far-accept.c;h=bdfb7741779441c3752176c5ad3ce585cc30cfc2;hb=6edafaaf6f5e70ef1e620ff01bd6bacebe1e0718;hp=92a87fde8bfeb2b86f20a914275494e656636e1c;hpb=e0cc09e295f346b7921e921f385fe5213472316a;p=linux-2.6 diff --git a/net/rxrpc/ar-accept.c b/net/rxrpc/ar-accept.c index 92a87fde8b..bdfb774177 100644 --- a/net/rxrpc/ar-accept.c +++ b/net/rxrpc/ar-accept.c @@ -156,8 +156,7 @@ static int rxrpc_accept_incoming_call(struct rxrpc_local *local, false); spin_unlock(&call->lock); notification = NULL; - if (ret < 0) - BUG(); + BUG_ON(ret < 0); } spin_unlock(&call->conn->state_lock);