summaryrefslogtreecommitdiffstats
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
parent9b88d0890ed9adab413ea991fac90842688e1017 (diff)
downloadlinux-stable-c37f7cd7e5b6c2aabe0d5b2220545789517b064a.tar.gz
linux-stable-c37f7cd7e5b6c2aabe0d5b2220545789517b064a.tar.bz2
linux-stable-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>
-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;