diff options
author | Takashi Iwai <tiwai@suse.de> | 2021-07-20 19:28:37 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-07-20 19:31:24 +0300 |
commit | 9b7843d1e125dca0d6ed0af9e8dd709d41eb25ad (patch) | |
tree | bde92c8a564b51b036d2247287e4874041528219 /sound/pci/cs4281.c | |
parent | dca18a94d3ad94201183f64d89149553c9cec95d (diff) | |
download | linux-9b7843d1e125dca0d6ed0af9e8dd709d41eb25ad.tar.xz |
ALSA: sc6000: Assign vport directly on card's private_data
sc6000 driver tries to allocate an extra pointer for keeping the vport
address and point it over card->private_data. But, this indirect
access is utterly superfluous, and we can keep the vport address
directly in card->private_data instead. This will simply the code and
avoid confusion.
Link: https://lore.kernel.org/r/20210720162837.6026-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/cs4281.c')
0 files changed, 0 insertions, 0 deletions