aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamreen Nilofer <samreen.nilofer@intel.com>2015-04-02 11:59:08 +0530
committerVinod Koul <vinod.koul@intel.com>2015-05-04 14:38:43 +0530
commitacc12b45388d204ab5be060f9393b32af2c341bc (patch)
tree4ce6fbebb441c3992f6948420475c25aa8f4625c
parent7cab1ef96b60a7b16120cad230afb279329a01a1 (diff)
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 <samreen.nilofer@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
-rw-r--r--tinymix.c4
1 files changed, 2 insertions, 2 deletions
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;
}