RxRPC: Error handling for rxrpc_alloc_connection()
authorDan Carpenter <error27@gmail.com>
Thu, 21 May 2009 22:22:02 +0000 (15:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 May 2009 22:22:02 +0000 (15:22 -0700)
commit0975ecba3b670df7c488a5e0e6fe9f1f370a8ad8
treefc1470042a6c52fbd1332fe12b57105d35fcf9e2
parent3ed18d76d959e5cbfa5d70c8f7ba95476582a556
RxRPC: Error handling for rxrpc_alloc_connection()

rxrpc_alloc_connection() doesn't return an error code on failure, it just
returns NULL.  IS_ERR(NULL) is false.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rxrpc/ar-connection.c