# HG changeset patch # User Garrett D'Amore # Date 1256940885 25200 # Node ID d71227335d1671a8c45520959a79914a2a5cd4e4 # Parent 2b2e29cc50776bcd1c7f2091a4a2983cfc2d5ed7 6539690 add sound driver for EMU10K chip (fix lint) diff -r 2b2e29cc5077 -r d71227335d16 usr/src/uts/common/io/audio/drv/audioemu10k/audioemu10k.c --- a/usr/src/uts/common/io/audio/drv/audioemu10k/audioemu10k.c Fri Oct 30 11:47:18 2009 -0700 +++ b/usr/src/uts/common/io/audio/drv/audioemu10k/audioemu10k.c Fri Oct 30 15:14:45 2009 -0700 @@ -1993,15 +1993,15 @@ /* set any AC'97 analog outputs to full volume (no attenuation) */ if ((ac = ac97_control_find(ac97, AUDIO_CTRL_ID_FRONT)) != NULL) - ac97_control_set(ac, (100 << 8) | 100); + (void) ac97_control_set(ac, (100 << 8) | 100); if ((ac = ac97_control_find(ac97, AUDIO_CTRL_ID_LINEOUT)) != NULL) - ac97_control_set(ac, (100 << 8) | 100); + (void) ac97_control_set(ac, (100 << 8) | 100); if ((ac = ac97_control_find(ac97, AUDIO_CTRL_ID_SURROUND)) != NULL) - ac97_control_set(ac, (100 << 8) | 100); + (void) ac97_control_set(ac, (100 << 8) | 100); if ((ac = ac97_control_find(ac97, AUDIO_CTRL_ID_CENTER)) != NULL) - ac97_control_set(ac, 100); + (void) ac97_control_set(ac, 100); if ((ac = ac97_control_find(ac97, AUDIO_CTRL_ID_LFE)) != NULL) - ac97_control_set(ac, 100); + (void) ac97_control_set(ac, 100); /* Monitor sources */ emu10k_create_stereo(devc, CTL_AC97, GPR_MON_AC97,