Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: rtl8723bs: remove unused macros

remove unused macros in hal/odm_HWConfig.h

Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/00575e78b23e36edb3a7e404e26a3c5e84394f3d.1628329348.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Fabio Aiuto and committed by
Greg Kroah-Hartman
b2f29c8a 61b919fe

-17
-17
drivers/staging/rtl8723bs/hal/odm_HWConfig.h
··· 9 9 #ifndef __HALHWOUTSRC_H__ 10 10 #define __HALHWOUTSRC_H__ 11 11 12 - 13 - /*--------------------------Define -------------------------------------------*/ 14 - /* define READ_NEXT_PAIR(v1, v2, i) do { i += 2; v1 = Array[i]; v2 = Array[i+1]; } while (0) */ 15 - #define AGC_DIFF_CONFIG_MP(ic, band) (ODM_ReadAndConfig_MP_##ic##_AGC_TAB_DIFF(pDM_Odm, Array_MP_##ic##_AGC_TAB_DIFF_##band, \ 16 - sizeof(Array_MP_##ic##_AGC_TAB_DIFF_##band)/sizeof(u32))) 17 - #define AGC_DIFF_CONFIG_TC(ic, band) (ODM_ReadAndConfig_TC_##ic##_AGC_TAB_DIFF(pDM_Odm, Array_TC_##ic##_AGC_TAB_DIFF_##band, \ 18 - sizeof(Array_TC_##ic##_AGC_TAB_DIFF_##band)/sizeof(u32))) 19 - 20 - #define AGC_DIFF_CONFIG(ic, band)\ 21 - do {\ 22 - if (pDM_Odm->bIsMPChip)\ 23 - AGC_DIFF_CONFIG_MP(ic, band);\ 24 - else\ 25 - AGC_DIFF_CONFIG_TC(ic, band);\ 26 - } while (0) 27 - 28 - 29 12 /* */ 30 13 /* structure and define */ 31 14 /* */