crypto: atmel-i2c - drop redundant void * callback cast in enqueue

The callback already has the correct type - remove the redundant cast.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Thorsten Blum authored and Herbert Xu committed 2026-05-22 20:25:30 +08:00
1 parent 43079e21ff
commit 01c8d5662d
1 file changed
+1 -1
+1 -1
View File
@@ -294,7 +294,7 @@ void atmel_i2c_enqueue(struct atmel_i2c_work_data *work_data,
void *areq, int status),
void *areq)
{
work_data->cbk = (void *)cbk;
work_data->cbk = cbk;
work_data->areq = areq;
INIT_WORK(&work_data->work, atmel_i2c_work_handler);