Skip to content

Commit 65cb465

Browse files
committed
tipc: Remove completion function scaffolding
This patch removes the temporary scaffolding now that the comletion function signature has been converted. Signed-off-by: Herbert Xu <[email protected]>
1 parent 6002e20 commit 65cb465

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

net/tipc/crypto.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,10 @@ static int tipc_aead_encrypt(struct tipc_aead *aead, struct sk_buff *skb,
267267
struct tipc_bearer *b,
268268
struct tipc_media_addr *dst,
269269
struct tipc_node *__dnode);
270-
static void tipc_aead_encrypt_done(crypto_completion_data_t *data, int err);
270+
static void tipc_aead_encrypt_done(void *data, int err);
271271
static int tipc_aead_decrypt(struct net *net, struct tipc_aead *aead,
272272
struct sk_buff *skb, struct tipc_bearer *b);
273-
static void tipc_aead_decrypt_done(crypto_completion_data_t *data, int err);
273+
static void tipc_aead_decrypt_done(void *data, int err);
274274
static inline int tipc_ehdr_size(struct tipc_ehdr *ehdr);
275275
static int tipc_ehdr_build(struct net *net, struct tipc_aead *aead,
276276
u8 tx_key, struct sk_buff *skb,
@@ -830,9 +830,9 @@ static int tipc_aead_encrypt(struct tipc_aead *aead, struct sk_buff *skb,
830830
return rc;
831831
}
832832

833-
static void tipc_aead_encrypt_done(crypto_completion_data_t *data, int err)
833+
static void tipc_aead_encrypt_done(void *data, int err)
834834
{
835-
struct sk_buff *skb = crypto_get_completion_data(data);
835+
struct sk_buff *skb = data;
836836
struct tipc_crypto_tx_ctx *tx_ctx = TIPC_SKB_CB(skb)->crypto_ctx;
837837
struct tipc_bearer *b = tx_ctx->bearer;
838838
struct tipc_aead *aead = tx_ctx->aead;
@@ -954,9 +954,9 @@ static int tipc_aead_decrypt(struct net *net, struct tipc_aead *aead,
954954
return rc;
955955
}
956956

957-
static void tipc_aead_decrypt_done(crypto_completion_data_t *data, int err)
957+
static void tipc_aead_decrypt_done(void *data, int err)
958958
{
959-
struct sk_buff *skb = crypto_get_completion_data(data);
959+
struct sk_buff *skb = data;
960960
struct tipc_crypto_rx_ctx *rx_ctx = TIPC_SKB_CB(skb)->crypto_ctx;
961961
struct tipc_bearer *b = rx_ctx->bearer;
962962
struct tipc_aead *aead = rx_ctx->aead;

0 commit comments

Comments
 (0)