ALSA: vxpocket: Drop no longer existent chip->dev assignment
authorTakashi Iwai <tiwai@suse.de>
Thu, 8 Aug 2024 16:29:01 +0000 (18:29 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 8 Aug 2024 16:29:34 +0000 (18:29 +0200)
The recent cleanup change for vx_core overlooked the code in vxpocket
pcmcia driver.  Kill the superfluous line as well.

Fixes: b426b3ba9f6f ("ALSA: vx_core: Drop unused dev field")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202408090016.kW0TA6fc-lkp@intel.com/
Link: https://patch.msgid.link/20240808162902.20082-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pcmcia/vx/vxpocket.c

index 2ea62efa0064a2d8d95ddab96f713cccd48a0a0b..5f72c73eac8532de4155354ebd6f2e4df4cbebbd 100644 (file)
@@ -204,8 +204,6 @@ static int vxpocket_config(struct pcmcia_device *link)
        if (ret)
                goto failed;
 
-       chip->dev = &link->dev;
-
        if (snd_vxpocket_assign_resources(chip, link->resource[0]->start,
                                                link->irq) < 0)
                goto failed;