From f781d611ac7ebc472c6bffeea4ac967132a81c35 Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Tue, 19 May 2020 21:23:25 -0300 Subject: [PATCH] Remove redundant check --- src/sound/sound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/sound.c b/src/sound/sound.c index 0136a8a48..f6ade1f98 100644 --- a/src/sound/sound.c +++ b/src/sound/sound.c @@ -186,7 +186,7 @@ sound_card_get_from_internal_name(char *s) void sound_card_init(void) { - if ((sound_card_current != SOUND_INTERNAL) && (sound_cards[sound_card_current].device)) /* skip internal sound card */ + if (sound_cards[sound_card_current].device) device_add(sound_cards[sound_card_current].device); }