Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp400305pxy; Fri, 30 Apr 2021 07:48:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPEunlKERNV3p+5W0n3RZ6adspvgnYXD0V5gpGxH0Y3j7lkC6+O2FkSPkM5Foj5lbC6TtC X-Received: by 2002:a17:902:bcc3:b029:ed:4637:fb2f with SMTP id o3-20020a170902bcc3b02900ed4637fb2fmr5631067pls.72.1619794109436; Fri, 30 Apr 2021 07:48:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619794109; cv=none; d=google.com; s=arc-20160816; b=rUJFaNckwdy0+DpbviVTu/D4480xVfHFBJa6eFqRvH1znnXPLikA6wBbNNRwQw1UUI KrPUSVUcaFnRLVr1NyXvn8uwKWF//fc0i3f6r54Zno4rX9zkp1jfQOqGtfbA3pjC3/xw bz5ECedlrp60XwYGA7XQ6iuqc5Krppr//2DbJ6YRY/LUOSfxePrt0TAJZkU2WWOfsEj7 MdAxUGNMQRLvycFfSKV2wAkddYvAIu0RSKkKZ5Rghqf6JpgUyO+OnmYdsE/HOkuUEBH6 8bPwP8D24XxKbPs6Vf1jSO7rzAegF6+2kT3ag72vCZfBJ6clNyk2R/5MafZZyM34SHDd BLYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Qqo23BBWvfRPpInFMgEIGt2hEIbFItq/UvhQi520Ig0=; b=uOipkgWFr2yw+JbEs/rNfYzoW04PZepzkmKC4k6fcUGAbC5eecrB580UNDeWf3cgm8 r53tD0Pz1l7EK1VqKaGCnkRnt/Zgrhdne0QZak98frJ3yF+PixOKFfDEml+hOOx+RwNq CQVhbZCoh4rMMXOcXQNH2U4sWTFQwV511SrejePA3MI/YQGBDIZDzFfp6+Xd+C/PxCWh q6vhUFmIoBl5Or9C5k/sVlxmiVby2I0nIbhIsPlaylmz8fOmqmhI8q13Ur9W5yoo1v5d x1PIYkHVmIACb/rdwYx3xFZytoRzW7NeXr0z90295r+wGGw8XTP/sEd0r/hsG5t1/ds0 Z8lA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CtDfXUHc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x13si3800171pgc.145.2021.04.30.07.48.16; Fri, 30 Apr 2021 07:48:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CtDfXUHc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233237AbhD3Oqv (ORCPT + 99 others); Fri, 30 Apr 2021 10:46:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233803AbhD3OqD (ORCPT ); Fri, 30 Apr 2021 10:46:03 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54293C06135A for ; Fri, 30 Apr 2021 07:45:02 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id c22so19289720edn.7 for ; Fri, 30 Apr 2021 07:45:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Qqo23BBWvfRPpInFMgEIGt2hEIbFItq/UvhQi520Ig0=; b=CtDfXUHcX+Qm5zTyOpykjdR4PMjU5KKLt5GtEZToPKqy9kJUMHZfXndwJSrqQBzWDz kZPZBCgz3LvIiUlPB4iwBuKIBPvelvI/dj3AH2SOB9gBJJxknFs7tE+H371Qxj4mpphT oNbkDAKJrOBP45ivmRycppvuHO9xYR7C0w54h2a9YC2aLhgpYnfaNcKNVyZ4nMtVwW9f iqt9xuiUgh4ViD7uXm7Y5R2FNXR5vWSEUzkTxwPm9GlEOuJLH+XvLIhFgB3veRkEwINo H3d2UYamUAulqKBwtie7yofaazBc/Lm22cEs7ey7UQCLo4259hfHsLK6LhXCCaEqOUUQ JvWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Qqo23BBWvfRPpInFMgEIGt2hEIbFItq/UvhQi520Ig0=; b=d+gX89+u9h6biprrtHoCp4jR0lLgtt5XL/tjP5ldK32h+N8hEFlCEOSfG1zCKtGCAw Et9/YYpT+e5OUmxndaCAWrHuAVk/rMf18/jcGUC4EqhlmYUdkNJf4FGJ+ipK2WxU2+V5 UaW+6FuF1YPSXDn+Csnsxk7X8Tl3vLdJENg0OrI0D9Vj91tlmScrMmcC6VBx73gCVHN1 /n74833T/NmRRN0bsbothDuxehH2GyGCJKv8TJiQGQw5/TDzXhBjQ1wMOBYu5UjN6eLO faC0NgkjY2uuyDipOlpoWxn278kIWj3zRJJxIFLGfUgfmQyS4GnwnqHk2vbOgEbJMDwY JxGg== X-Gm-Message-State: AOAM530rBKjHeaP4B3LL1ME5wQXKMRlZYEnp1FYOyhplQrED7JdkNA4a K7jjO/pOS4/WStlxV2lgX3NofMjhIYM= X-Received: by 2002:a05:6402:c1:: with SMTP id i1mr6297905edu.315.1619793900923; Fri, 30 Apr 2021 07:45:00 -0700 (PDT) Received: from agape ([109.52.244.36]) by smtp.gmail.com with ESMTPSA id p24sm1461327edt.5.2021.04.30.07.45.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Apr 2021 07:45:00 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 31/43] staging: rtl8723bs: remove unnecessary halbtcoutsrc_DbgInit() function Date: Fri, 30 Apr 2021 16:44:01 +0200 Message-Id: <2b2a35c7729314ef72df93427c017760daa58942.1619793406.git.fabioaiuto83@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org halbtcoutsrc_DbgInit() static function was intended for manual activation of private tracing facilities. So remove it. Signed-off-by: Fabio Aiuto --- 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