summaryrefslogtreecommitdiffstats
path: root/sound/pcmcia
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2024-08-08 18:29:01 +0200
committerTakashi Iwai <tiwai@suse.de>2024-08-08 18:29:34 +0200
commitc37f7cd7e5b6c2aabe0d5b2220545789517b064a (patch)
tree03de93797e35ca532d43d9e6fde88fc007de0023 /sound/pcmcia
parentALSA: usb-audio: Check shutdown at endpoint_set_interface() (diff)
downloadlinux-c37f7cd7e5b6c2aabe0d5b2220545789517b064a.tar.xz
linux-c37f7cd7e5b6c2aabe0d5b2220545789517b064a.zip
ALSA: vxpocket: Drop no longer existent chip->dev assignment
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>
Diffstat (limited to 'sound/pcmcia')
-rw-r--r--sound/pcmcia/vx/vxpocket.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/pcmcia/vx/vxpocket.c b/sound/pcmcia/vx/vxpocket.c
index 2ea62efa0064..5f72c73eac85 100644
--- a/sound/pcmcia/vx/vxpocket.c
+++ b/sound/pcmcia/vx/vxpocket.c
@@ -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;