diff options
Diffstat (limited to '')
-rw-r--r-- | src/mixer/alsa_mixer.c | 3 | ||||
-rw-r--r-- | src/mixer/oss_mixer.c | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/mixer/alsa_mixer.c b/src/mixer/alsa_mixer.c index d0cfdd5a2..d257dc3e8 100644 --- a/src/mixer/alsa_mixer.c +++ b/src/mixer/alsa_mixer.c @@ -48,9 +48,6 @@ alsa_mixer_configure(struct mixer_data *data, const struct config_param *param) struct alsa_mixer *am = (struct alsa_mixer *)data; const char *value; - if (param == NULL) - return; - value = config_get_block_string(param, "mixer_device", NULL); if (value != NULL) { g_free(am->device); diff --git a/src/mixer/oss_mixer.c b/src/mixer/oss_mixer.c index ed370483d..a72806ead 100644 --- a/src/mixer/oss_mixer.c +++ b/src/mixer/oss_mixer.c @@ -52,9 +52,6 @@ oss_mixer_configure(struct mixer_data *data, const struct config_param *param) struct oss_mixer *om = (struct oss_mixer *) data; const char *value; - if (param == NULL) - return; - value = config_get_block_string(param, "mixer_device", NULL); if (value != NULL) { g_free(om->device); |