hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/mmc/core/sdio_cis.c
....@@ -392,12 +392,6 @@
392392 return ret;
393393
394394 /*
395
- * Since we've linked to tuples in the card structure,
396
- * we must make sure we have a reference to it.
397
- */
398
- get_device(&func->card->dev);
399
-
400
- /*
401395 * Vendor/device id is optional for function CIS, so
402396 * copy it from the card structure as needed.
403397 */
....@@ -422,11 +416,5 @@
422416 }
423417
424418 func->tuples = NULL;
425
-
426
- /*
427
- * We have now removed the link to the tuples in the
428
- * card structure, so remove the reference.
429
- */
430
- put_device(&func->card->dev);
431419 }
432420