[pulseaudio-discuss] [PATCH 06/17] alsa: Remove an unused function parameter

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Mon Dec 30 05:04:41 PST 2013


---
 src/modules/alsa/alsa-ucm.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/modules/alsa/alsa-ucm.c b/src/modules/alsa/alsa-ucm.c
index f4a6a84..ce10970 100644
--- a/src/modules/alsa/alsa-ucm.c
+++ b/src/modules/alsa/alsa-ucm.c
@@ -793,7 +793,6 @@ static int ucm_port_contains(const char *port_name, const char *dev_name, bool i
 }
 
 static bool ucm_check_conformance(
-        pa_alsa_ucm_mapping_context *context,
         pa_alsa_ucm_device **pdevices,
         int dev_num,
         pa_alsa_ucm_device *dev) {
@@ -865,7 +864,7 @@ static void ucm_add_ports_combination(
         return;
 
     /* check if device at map_index can combine with existing devices combination */
-    if (ucm_check_conformance(context, pdevices, dev_num, dev)) {
+    if (ucm_check_conformance(pdevices, dev_num, dev)) {
         /* add device at map_index to devices combination */
         pdevices[dev_num] = dev;
         /* add current devices combination as a new port */
-- 
1.8.3.1



More information about the pulseaudio-discuss mailing list