ALSA: Optimize module name check
authorTakashi Iwai <tiwai@suse.de>
Mon, 28 Oct 2013 11:54:52 +0000 (12:54 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 29 Oct 2013 10:37:42 +0000 (11:37 +0100)
commit60f6fef877d52525b8887d27cfacf74a279e3e12
treebf3744c3967ff8fbdcb24a6eb1e88685c5078b2c
parent1f96153bc613c526f5ea39a7f366b3bdf70249be
ALSA: Optimize module name check

module->name is a fixed array, so we can check the empty contents
straightforwardly in module_slot_match().

Spotted by coverity CID 1056786.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/init.c