From 211a49f26fcbcf9c472ff35334fe85b043cca7f8 Mon Sep 17 00:00:00 2001 From: Michael Banther Date: Wed, 2 Oct 2019 16:57:42 +0100 Subject: [PATCH] Remove unnecessary port parameters passed through XUA Buffer (whether the traditional one or the Lite version). --- lib_xua/api/xua_buffer.h | 2 -- lib_xua/src/core/buffer/ep/ep_buffer.xc | 3 --- 2 files changed, 5 deletions(-) diff --git a/lib_xua/api/xua_buffer.h b/lib_xua/api/xua_buffer.h index 5e7f65e4..93ca3219 100644 --- a/lib_xua/api/xua_buffer.h +++ b/lib_xua/api/xua_buffer.h @@ -60,7 +60,6 @@ void XUA_Buffer( in port p_off_mclk #if( 0 < HID_CONTROLS ) , chanend c_hid - , in port p_int #endif , chanend c_aud ); @@ -100,7 +99,6 @@ void XUA_Buffer_Ep(chanend c_aud_out, in port p_off_mclk #if( 0 < HID_CONTROLS ) , chanend c_hid - , in port p_int #endif #ifdef CHAN_BUFF_CTRL , chanend c_buff_ctrl diff --git a/lib_xua/src/core/buffer/ep/ep_buffer.xc b/lib_xua/src/core/buffer/ep/ep_buffer.xc index 53244092..5916da17 100644 --- a/lib_xua/src/core/buffer/ep/ep_buffer.xc +++ b/lib_xua/src/core/buffer/ep/ep_buffer.xc @@ -122,7 +122,6 @@ void XUA_Buffer( in port p_off_mclk #if( 0 < HID_CONTROLS ) , chanend c_hid - , in port p_int #endif , chanend c_aud ) @@ -167,7 +166,6 @@ void XUA_Buffer( c_sof, c_aud_ctl, p_off_mclk #if( 0 < HID_CONTROLS ) , c_hid - , p_int #endif #ifdef CHAN_BUFF_CTRL , c_buff_ctrl @@ -227,7 +225,6 @@ void XUA_Buffer_Ep(register chanend c_aud_out, in port p_off_mclk #if( 0 < HID_CONTROLS ) , chanend c_hid - , in port p_int #endif #ifdef CHAN_BUFF_CTRL , chanend c_buff_ctrl