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 <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
(cherry picked from commit acc12b45388d204ab5be060f9393b32af2c341bc)
Bug: 27834022
Change-Id: Ib8e0b4b641c97665c06c85d116ea4578edfc93e1
diff --git a/tinymix.c b/tinymix.c
index af18475..a3c41a2 100644
--- a/tinymix.c
+++ b/tinymix.c
@@ -199,7 +199,7 @@
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;
@@ -270,7 +270,7 @@
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;
}