diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2018-09-11 16:18:36 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-09-11 16:46:42 +0200 |
commit | 5b03006d5c58ddd31caf542eef4d0269bcf265b3 (patch) | |
tree | d4941349741b53ad201436313b0a78c48846ab95 /scripts/Makefile.modinst | |
parent | 64b6acf60b665fffd419c23886a1cbeeb253cfb4 (diff) | |
download | linux-5b03006d5c58ddd31caf542eef4d0269bcf265b3.tar.bz2 |
ALSA: hda: fix unused variable warning
When CONFIG_X86=n function azx_snoop doesn't use the variable chip it
only returns true.
sound/pci/hda/hda_intel.c: In function ‘dma_alloc_pages’:
sound/pci/hda/hda_intel.c:2002:14: warning: unused variable ‘chip’ [-Wunused-variable]
struct azx *chip = bus_to_azx(bus);
^~~~
Create a inline function of azx_snoop.
Fixes: a41d122449be ("ALSA: hda - Embed bus into controller object")
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/Makefile.modinst')
0 files changed, 0 insertions, 0 deletions