Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1385655pxj; Wed, 19 May 2021 05:05:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymS++JTbMcF8l9SoJQtGGyjbTPsl86edVLUgizmw8s3itRPr9ygDttv0fuNL8TmBWfBWXm X-Received: by 2002:a05:6402:11c7:: with SMTP id j7mr14071005edw.129.1621425940708; Wed, 19 May 2021 05:05:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621425940; cv=none; d=google.com; s=arc-20160816; b=zmBe5+8z6/4PxGv7o2iXimqjxorPj/1br+tfod4Qr+nC7ap0vCcvmQ3kkZPJ9szWwr QjEiO0CYFeil3hsGY2kk4aE5cuKFmyZTRpW4K9/WiL+6gFgo84FHHlArSkC6nzzoLnYg xRXfPSUsGNKZek4zn6yvbF+P3kpcX9H1CQTqxDUFfuoP0fMeYML3ICabtgwC7wqdvMMo jimKdGHPjRUmvqrtD6fCTpn5WL27J7IuHjaSzH7Z/HQYm0w2g5uEj8xRbUIC8LwkD1wJ hiqhFJJ+n6RkawOekXxP8Id4b05ysKUytww1t7AkZi7ytTPCWwchPHJQMAf5kwKQ7r0S JkXQ== 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=XZRMdbjxMxB4jilOYqB66sZPAREoVkPe1v6Lee0oUs4=; b=pqBz5YMYI6d0FaaPwL7LaaTBg+UMDrxP2qcTY1XZsi9QhvF3ql+Q4zy6JXZbFA/Wef sIHvLhfAv8IXXlM+GmmjpzzfFvtIPM8o50Qs+JdbG58EpVV9h+1y/ak8sinKKGKD+ftG guvlp9GvWkLIdy/3K8JuRFPqCkNQRBFteldwLc/lens4/vrFLkucscft6bYodhkWGDxt b+fETiMqP2WXrPwWGuK7keMYa5DkSPwV91CpdIMpu6UbDy47B0w/eNbbpMpSv8oShCEi hq0yaFs0Qgv+ScWFb4wNy4CciquBLjvMrEcB4ja/nmTVsR4lX9ub5FiTpMQDFlf6GxQe SHTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iLWsrAi1; 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 x18si20619691eji.715.2021.05.19.05.05.16; Wed, 19 May 2021 05:05:40 -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=iLWsrAi1; 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 S1346369AbhEREpq (ORCPT + 99 others); Tue, 18 May 2021 00:45:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346364AbhEREpp (ORCPT ); Tue, 18 May 2021 00:45:45 -0400 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CADD6C061573 for ; Mon, 17 May 2021 21:44:27 -0700 (PDT) Received: by mail-pj1-x102a.google.com with SMTP id gm21so4834556pjb.5 for ; Mon, 17 May 2021 21:44:27 -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=XZRMdbjxMxB4jilOYqB66sZPAREoVkPe1v6Lee0oUs4=; b=iLWsrAi1bzNb6Ny1SZ+EqLbTmvGKxgXbnO87xCBUV/SioaE7lWKJNfclmiiMll3RVe GBT2lZ4zljRObXp/WM/KqkRMM/1tBoc8QegQj10NJ/pH8k6qV15q4rV0wntQxU6CzVTy 8GCQCvxHzrT8jiGo2QEbirbgRXFaJIDvlT9R8EXJoYm31jw/SJSknfwcEo/6tT1AKrzO lhkvPVrzb8KwOBkZz5QoVhxm7WW02QowLJFqpXk0K/LQyYFpCoydwLaike0G9Mlgerfx CFx3SwRWUQBelG1nHuhmuxPxBEPBJQJ0h4kk1gB+HWujjhw7+pr8kVyAf11v2V9ko/gD asTw== 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=XZRMdbjxMxB4jilOYqB66sZPAREoVkPe1v6Lee0oUs4=; b=EH1cYybjXD7MF9tNMzBHvG1japP/BqBfv1g902WOcBMrZf1Swrxw6eD7d+P7XM+h7g vu5c83nf5idFu2a/OOdPozYMShTPNQi8H8kvQBTn3sXhFmt7Dofa+PYPERAVh1Es+LAt W+GJtysRFsGQctkMwbdSyukKTaWBQuDpexOg+rIYdmRqxY8zJL5U93RkifKZTKc4gc77 ugP4YjltsXQS53xMS/3mkQCo7reNcwVuTG/do+tRcISCjOhX7sQy9OjxIz5VbS6RH5IG XRw1SkdmKZyNd8DA2imLQE8ze/SaLVCVEngGcT5AUdqTfOMziJIkpI7crJDNSIAC0aDq 29sg== X-Gm-Message-State: AOAM532r3yUCNWzpzsc/NTwoAFl7OKQ/CLz2ZDJ933JtTbZ7xsOEoghw k9qZUcdGaoqrZLU+GWh5vUo= X-Received: by 2002:a17:90a:f18e:: with SMTP id bv14mr3341739pjb.234.1621313067403; Mon, 17 May 2021 21:44:27 -0700 (PDT) Received: from localhost.localdomain ([203.126.139.7]) by smtp.gmail.com with ESMTPSA id t15sm357538pjh.0.2021.05.17.21.44.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 May 2021 21:44:27 -0700 (PDT) From: Desmond Cheong Zhi Xi To: gregkh@linuxfoundation.org, marcocesati@gmail.com, dan.carpenter@oracle.com, fabioaiuto83@gmail.com, fmdefrancesco@gmail.com, eantoranz@gmail.com, hdegoede@redhat.com, Larry.Finger@lwfinger.net Cc: Desmond Cheong Zhi Xi , skhan@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org Subject: [PATCH v2 7/7] Staging: rtl8723bs: remove dead code in HalBtc8723b1Ant.c Date: Tue, 18 May 2021 00:41:19 -0400 Message-Id: <20210518044119.2960494-8-desmondcheongzx@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210518044119.2960494-1-desmondcheongzx@gmail.com> References: <20210518044119.2960494-1-desmondcheongzx@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This commit removes dead code to resolve the following checkpatch.pl warning: WARNING: Block comments use * on subsequent lines + /* + CL_SPRINTF(cliBuf, BT_TMP_BUF_SIZE, "\r\n %-35s = 0x%x ", "Latest error condition(should be 0)", \ Signed-off-by: Desmond Cheong Zhi Xi --- drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c b/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c index cc7f558903ac..e5464a27c052 100644 --- a/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c +++ b/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c @@ -2509,12 +2509,6 @@ void EXhalbtc8723b1ant_DisplayCoexInfo(struct btc_coexist *pBtCoexist) CL_SPRINTF(cliBuf, BT_TMP_BUF_SIZE, "\r\n %-35s = %d", "IgnWlanAct", pCoexDm->bCurIgnoreWlanAct); CL_PRINTF(cliBuf); - - /* - CL_SPRINTF(cliBuf, BT_TMP_BUF_SIZE, "\r\n %-35s = 0x%x ", "Latest error condition(should be 0)", \ - pCoexDm->errorCondition); - CL_PRINTF(cliBuf); - */ } /* Hw setting */ -- 2.25.1