ALSA: ice17xx: Deletion of unnecessary checks before the function call "snd_ac97_resume"
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 17 Nov 2014 10:28:02 +0000 (11:28 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 17 Nov 2014 12:45:51 +0000 (13:45 +0100)
commitae1b22658e6d3ebc6af07a225c221d84fe8cb91f
treed4c5f8d00cb8ca39717a4c7152fc1e4a8bc33c12
parentf0acd28c87ad2a5d1b40403fdd5defda2961b2a1
ALSA: ice17xx: Deletion of unnecessary checks before the function call "snd_ac97_resume"

The snd_ac97_resume() function tests whether its argument is NULL and then
returns immediately. Thus the test around the call is not needed.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ice1712/ice1712.c
sound/pci/ice1712/ice1724.c
This page took 0.026463 seconds and 5 git commands to generate.