Skip to content

Commit 8ae4c65

Browse files
committed
ALSA: hda: Fix unused variable warning
The previous code cleanup made a variable not really used, which now leads to a compile warning. Let's fix it. Fixes: cac99f7 ("ALSA: hda: intel: Don't free interrupt when suspending") Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Link: https://patch.msgid.link/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 149cb7d commit 8ae4c65

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

sound/pci/hda/hda_intel.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,13 +1039,11 @@ static int azx_suspend(struct device *dev)
10391039
{
10401040
struct snd_card *card = dev_get_drvdata(dev);
10411041
struct azx *chip;
1042-
struct hdac_bus *bus;
10431042

10441043
if (!azx_is_pm_ready(card))
10451044
return 0;
10461045

10471046
chip = card->private_data;
1048-
bus = azx_bus(chip);
10491047
azx_shutdown_chip(chip);
10501048

10511049
trace_azx_suspend(chip);

0 commit comments

Comments
 (0)