From: Desmond Cheong Zhi Xi Date: Tue, 18 May 2021 04:41:19 +0000 (-0400) Subject: Staging: rtl8723bs: remove dead code in HalBtc8723b1Ant.c X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0c21b72a7f1983346fcb47eec2e0dd7fa0ad4391;p=linux.git Staging: rtl8723bs: remove dead code in HalBtc8723b1Ant.c 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)", \ Reviewed-by: Dan Carpenter Signed-off-by: Desmond Cheong Zhi Xi Link: https://lore.kernel.org/r/20210518044119.2960494-8-desmondcheongzx@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c b/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c index cc7f558903ac5..e5464a27c052c 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 */