lkml.org 
[lkml]   [2021]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 10/21] staging: rtl8723bs: remove unused macros
    Date
    remove unused macros in hal/odm_HWConfig.h

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

    diff --git a/drivers/staging/rtl8723bs/hal/odm_HWConfig.h b/drivers/staging/rtl8723bs/hal/odm_HWConfig.h
    index 2e10974ffef1..0c3697c38e64 100644
    --- a/drivers/staging/rtl8723bs/hal/odm_HWConfig.h
    +++ b/drivers/staging/rtl8723bs/hal/odm_HWConfig.h
    @@ -9,23 +9,6 @@
    #ifndef __HALHWOUTSRC_H__
    #define __HALHWOUTSRC_H__

    -
    -/*--------------------------Define -------------------------------------------*/
    -/* define READ_NEXT_PAIR(v1, v2, i) do { i += 2; v1 = Array[i]; v2 = Array[i+1]; } while (0) */
    -#define AGC_DIFF_CONFIG_MP(ic, band) (ODM_ReadAndConfig_MP_##ic##_AGC_TAB_DIFF(pDM_Odm, Array_MP_##ic##_AGC_TAB_DIFF_##band, \
    - sizeof(Array_MP_##ic##_AGC_TAB_DIFF_##band)/sizeof(u32)))
    -#define AGC_DIFF_CONFIG_TC(ic, band) (ODM_ReadAndConfig_TC_##ic##_AGC_TAB_DIFF(pDM_Odm, Array_TC_##ic##_AGC_TAB_DIFF_##band, \
    - sizeof(Array_TC_##ic##_AGC_TAB_DIFF_##band)/sizeof(u32)))
    -
    -#define AGC_DIFF_CONFIG(ic, band)\
    - do {\
    - if (pDM_Odm->bIsMPChip)\
    - AGC_DIFF_CONFIG_MP(ic, band);\
    - else\
    - AGC_DIFF_CONFIG_TC(ic, band);\
    - } while (0)
    -
    -
    /* */
    /* structure and define */
    /* */
    --
    2.20.1
    \
     
     \ /
      Last update: 2021-08-07 12:12    [W:2.257 / U:0.036 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site