On Tue, 11 Sep 2018 16:18:36 +0200, Anders Roxell wrote: > > 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@xxxxxxxxxx> Applied, thanks. Takashi _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel