lkml.org 
[lkml]   [2021]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v2 31/43] staging: rtl8723bs: remove unnecessary halbtcoutsrc_DbgInit() function
    Date
    halbtcoutsrc_DbgInit() static function was intended for
    manual activation of private tracing facilities.

    So remove it.

    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    ---
    drivers/staging/rtl8723bs/hal/hal_btcoex.c | 28 ----------------------
    1 file changed, 28 deletions(-)

    diff --git a/drivers/staging/rtl8723bs/hal/hal_btcoex.c b/drivers/staging/rtl8723bs/hal/hal_btcoex.c
    index 02d9997094f2..fd26187a976a 100644
    --- a/drivers/staging/rtl8723bs/hal/hal_btcoex.c
    +++ b/drivers/staging/rtl8723bs/hal/hal_btcoex.c
    @@ -75,32 +75,6 @@ static u8 halbtcoutsrc_IsBtCoexistAvailable(struct btc_coexist *pBtCoexist)
    return true;
    }

    -static void halbtcoutsrc_DbgInit(void)
    -{
    - u8 i;
    -
    - for (i = 0; i < BTC_MSG_MAX; i++)
    - GLBtcDbgType[i] = 0;
    -
    - GLBtcDbgType[BTC_MSG_INTERFACE] = \
    -/* INTF_INIT | */
    -/* INTF_NOTIFY | */
    - 0;
    -
    - GLBtcDbgType[BTC_MSG_ALGORITHM] = \
    -/* ALGO_BT_RSSI_STATE | */
    -/* ALGO_WIFI_RSSI_STATE | */
    -/* ALGO_BT_MONITOR | */
    -/* ALGO_TRACE | */
    -/* ALGO_TRACE_FW | */
    -/* ALGO_TRACE_FW_DETAIL | */
    -/* ALGO_TRACE_FW_EXEC | */
    -/* ALGO_TRACE_SW | */
    -/* ALGO_TRACE_SW_DETAIL | */
    -/* ALGO_TRACE_SW_EXEC | */
    - 0;
    -}
    -
    static void halbtcoutsrc_LeaveLps(struct btc_coexist *pBtCoexist)
    {
    struct adapter *padapter;
    @@ -919,8 +893,6 @@ void hal_btcoex_Initialize(void *padapter)

    /* pBtCoexist->statistics.cntBind++; */

    - halbtcoutsrc_DbgInit();
    -
    pBtCoexist->chipInterface = BTC_INTF_SDIO;

    EXhalbtcoutsrc_BindBtCoexWithAdapter(padapter);
    --
    2.20.1
    \
     
     \ /
      Last update: 2021-04-30 16:46    [W:4.023 / U:0.060 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site