Skip to content

Commit 8580e55

Browse files
committed
tls: 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 65cb465 commit 8580e55

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

net/tls/tls_sw.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,9 @@ static int tls_padding_length(struct tls_prot_info *prot, struct sk_buff *skb,
179179
return sub;
180180
}
181181

182-
static void tls_decrypt_done(crypto_completion_data_t *data, int err)
182+
static void tls_decrypt_done(void *data, int err)
183183
{
184-
struct aead_request *aead_req = crypto_get_completion_data(data);
184+
struct aead_request *aead_req = data;
185185
struct crypto_aead *aead = crypto_aead_reqtfm(aead_req);
186186
struct scatterlist *sgout = aead_req->dst;
187187
struct scatterlist *sgin = aead_req->src;
@@ -428,9 +428,9 @@ int tls_tx_records(struct sock *sk, int flags)
428428
return rc;
429429
}
430430

431-
static void tls_encrypt_done(crypto_completion_data_t *data, int err)
431+
static void tls_encrypt_done(void *data, int err)
432432
{
433-
struct aead_request *aead_req = crypto_get_completion_data(data);
433+
struct aead_request *aead_req = data;
434434
struct tls_sw_context_tx *ctx;
435435
struct tls_context *tls_ctx;
436436
struct tls_prot_info *prot;

0 commit comments

Comments
 (0)