hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/crypto/tcrypt.c
....@@ -1282,15 +1282,6 @@
12821282 goto out_free_tfm;
12831283 }
12841284
1285
-
1286
- for (i = 0; i < num_mb; ++i)
1287
- if (testmgr_alloc_buf(data[i].xbuf)) {
1288
- while (i--)
1289
- testmgr_free_buf(data[i].xbuf);
1290
- goto out_free_tfm;
1291
- }
1292
-
1293
-
12941285 for (i = 0; i < num_mb; ++i) {
12951286 data[i].req = skcipher_request_alloc(tfm, GFP_KERNEL);
12961287 if (!data[i].req) {