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>
diff --git a/net/rxrpc/Makefile b/net/rxrpc/Makefile
index fa09cb5..e05a06e 100644
--- a/net/rxrpc/Makefile
+++ b/net/rxrpc/Makefile
@@ -19,6 +19,7 @@
ar-security.o \
ar-skbuff.o \
ar-transport.o \
+ insecure.o \
misc.o
af-rxrpc-$(CONFIG_PROC_FS) += ar-proc.o