Re: [PATCH] staging: rtl8723bs: hal: move common code to macro

2019-06-09 Thread Greg Kroah-Hartman
On Sun, Jun 09, 2019 at 04:02:32PM +0530, Hariprasad Kelam wrote: > > As part of halbtc8723b2ant_TdmaDurationAdjust function below > piece of code is used many times. > > halbtc8723b2ant_PsTdma(pBtCoexist, NORMAL_EXEC, true, val); > pCoexDm->psTdmaDuAdjType = val; > > This pa

[PATCH] staging: rtl8723bs: hal: move common code to macro

2019-06-09 Thread Hariprasad Kelam
As part of halbtc8723b2ant_TdmaDurationAdjust function below piece of code is used many times. halbtc8723b2ant_PsTdma(pBtCoexist, NORMAL_EXEC, true, val); pCoexDm->psTdmaDuAdjType = val; This patch replaces this common code with MACRO HAL_BTC8723B2ANT_DMA_DURATION_ADJUST