rxrpc: Create a null security type and get rid of conditional calls
authorDavid Howells <dhowells@redhat.com>
Thu, 7 Apr 2016 16:23:58 +0000 (17:23 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Apr 2016 19:34:41 +0000 (15:34 -0400)
commite0e4d82f3be60cfe8b10304c6daf3ca5973ae9e3
tree717c4bd8d4a001016917688b38ce767ecf79ce39
parent648af7fca15901740c7aaafd55904ebd54d01860
rxrpc: Create a null security type and get rid of conditional calls

Create a null security type for security index 0 and get rid of all
conditional calls to the security operations.  We expect normally to be
using security, so this should be of little negative impact.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rxrpc/Makefile
net/rxrpc/ar-ack.c
net/rxrpc/ar-connection.c
net/rxrpc/ar-connevent.c
net/rxrpc/ar-input.c
net/rxrpc/ar-internal.h
net/rxrpc/ar-output.c
net/rxrpc/ar-security.c
net/rxrpc/insecure.c [new file with mode: 0644]