From acc12b45388d204ab5be060f9393b32af2c341bc Mon Sep 17 00:00:00 2001 From: Samreen Nilofer Date: Thu, 2 Apr 2015 11:59:08 +0530 Subject: tinymix: Remove the unused parameter from tinymix_set_byte_ctl() The control pointer is not used in the tinymix_set_byte_ctl(), hence removing it. Signed-off-by: Samreen Nilofer Signed-off-by: Vinod Koul --- tinymix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tinymix.c') diff --git a/tinymix.c b/tinymix.c index dcc985f..71dd206 100644 --- a/tinymix.c +++ b/tinymix.c @@ -201,7 +201,7 @@ static void tinymix_detail_control(struct mixer *mixer, const char *control, printf("\n"); } -static void tinymix_set_byte_ctl(struct mixer_ctl *ctl, const char *control, +static void tinymix_set_byte_ctl(struct mixer_ctl *ctl, char **values, unsigned int num_values) { int ret; @@ -286,7 +286,7 @@ static void tinymix_set_value(struct mixer *mixer, const char *control, num_ctl_values = mixer_ctl_get_num_values(ctl); if (type == MIXER_CTL_TYPE_BYTE) { - tinymix_set_byte_ctl(ctl, control, values, num_values); + tinymix_set_byte_ctl(ctl, values, num_values); return; } -- cgit v1.2.3