diff options
| author | Takashi Iwai <[email protected]> | 2024-08-07 15:34:00 +0200 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2024-08-08 07:47:23 +0200 |
| commit | b426b3ba9f6fe17990893c5324727dd217d420b6 (patch) | |
| tree | bf2853f7216495b261107b07eeb45df3d4b1e734 /include | |
| parent | b5557ef985301d7ca2ba08f8e9c22ba4f8c30d5d (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 <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'include')
| -rw-r--r-- | include/sound/vx_core.h | 1 |
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 */ |