diff options
author | David Howells <dhowells@redhat.com> | 2020-09-16 02:38:15 +0200 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2020-11-23 19:09:30 +0100 |
commit | 8d47a43c48af31c0027e1e08fce7af5f9aaa83c7 (patch) | |
tree | 7320f2829cae231950048115bb712afe6d1911c3 /net/rxrpc/insecure.c | |
parent | rxrpc: Fix example key name in a comment (diff) | |
download | linux-8d47a43c48af31c0027e1e08fce7af5f9aaa83c7.tar.xz linux-8d47a43c48af31c0027e1e08fce7af5f9aaa83c7.zip |
rxrpc: Merge prime_packet_security into init_connection_security
Merge the ->prime_packet_security() into the ->init_connection_security()
hook as they're always called together.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc/insecure.c')
-rw-r--r-- | net/rxrpc/insecure.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/net/rxrpc/insecure.c b/net/rxrpc/insecure.c index cf3ecffcf424..914e2f2e2990 100644 --- a/net/rxrpc/insecure.c +++ b/net/rxrpc/insecure.c @@ -14,11 +14,6 @@ static int none_init_connection_security(struct rxrpc_connection *conn, return 0; } -static int none_prime_packet_security(struct rxrpc_connection *conn) -{ - return 0; -} - static int none_secure_packet(struct rxrpc_call *call, struct sk_buff *skb, size_t data_size, @@ -87,7 +82,6 @@ const struct rxrpc_security rxrpc_no_security = { .init = none_init, .exit = none_exit, .init_connection_security = none_init_connection_security, - .prime_packet_security = none_prime_packet_security, .free_call_crypto = none_free_call_crypto, .secure_packet = none_secure_packet, .verify_packet = none_verify_packet, |