diff options
author | Samreen Nilofer <samreen.nilofer@intel.com> | 2015-04-02 11:59:08 +0530 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-05-04 14:38:43 +0530 |
commit | acc12b45388d204ab5be060f9393b32af2c341bc (patch) | |
tree | 4ce6fbebb441c3992f6948420475c25aa8f4625c | |
parent | 7cab1ef96b60a7b16120cad230afb279329a01a1 (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |