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>
This commit is contained in:
@@ -234,8 +234,6 @@ struct rxrpc_security {
|
||||
int (*init_connection_security)(struct rxrpc_connection *,
|
||||
struct rxrpc_key_token *);
|
||||
|
||||
/* prime a connection's packet security */
|
||||
int (*prime_packet_security)(struct rxrpc_connection *);
|
||||
|
||||
/* impose security on a packet */
|
||||
int (*secure_packet)(struct rxrpc_call *,
|
||||
|
||||
Reference in New Issue
Block a user