summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2024-08-07 15:34:00 +0200
committerTakashi Iwai <tiwai@suse.de>2024-08-08 07:47:23 +0200
commitb426b3ba9f6fe17990893c5324727dd217d420b6 (patch)
treebf2853f7216495b261107b07eeb45df3d4b1e734 /include/sound
parentb5557ef985301d7ca2ba08f8e9c22ba4f8c30d5d (diff)
ALSA: vx_core: Drop unused dev field
The vx_core.dev field has never been set but referred incorrectly at firmware loading. Pass the proper device pointer from card->dev at request_firmware(), and drop the unused dev field from vx_core, too. Reviewed-by: Jaroslav Kysela <perex@perex.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20240807133452.9424-11-tiwai@suse.de
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/vx_core.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sound/vx_core.h b/include/sound/vx_core.h
index 1ddd3036bdfc..ca87fa6a8135 100644
--- a/include/sound/vx_core.h
+++ b/include/sound/vx_core.h
@@ -155,7 +155,6 @@ struct vx_core {
unsigned int chip_status;
unsigned int pcm_running;
- struct device *dev;
struct snd_hwdep *hwdep;
struct vx_rmh irq_rmh; /* RMH used in interrupts */