staging: rtl8723bs: remove function rtw_odm_dbg_comp_msg

because this function is not used.

Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Nam Cao <namcaov@gmail.com>
Link: https://lore.kernel.org/r/7ff2d658863db4fd5eecc1a53f682510c2765c3f.1660916523.git.namcaov@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Nam Cao 2022-08-19 15:49:35 +02:00 committed by Greg Kroah-Hartman
parent e5781d8281
commit fcb7fde244
2 changed files with 0 additions and 17 deletions

View File

@ -90,22 +90,6 @@ static const char * const odm_dbg_level_str[] = {
#define RTW_ODM_DBG_LEVEL_NUM 6 #define RTW_ODM_DBG_LEVEL_NUM 6
void rtw_odm_dbg_comp_msg(struct adapter *adapter)
{
u64 dbg_comp;
int i;
rtw_hal_get_def_var(adapter, HW_DEF_ODM_DBG_FLAG, &dbg_comp);
netdev_dbg(adapter->pnetdev, "odm.DebugComponents = 0x%016llx\n",
dbg_comp);
for (i = 0; i < RTW_ODM_COMP_MAX; i++) {
if (odm_comp_str[i])
netdev_dbg(adapter->pnetdev, "%cBIT%-2d %s\n",
(BIT0 << i) & dbg_comp ? '+' : ' ', i,
odm_comp_str[i]);
}
}
inline void rtw_odm_dbg_comp_set(struct adapter *adapter, u64 comps) inline void rtw_odm_dbg_comp_set(struct adapter *adapter, u64 comps)
{ {
rtw_hal_set_def_var(adapter, HW_DEF_ODM_DBG_FLAG, &comps); rtw_hal_set_def_var(adapter, HW_DEF_ODM_DBG_FLAG, &comps);

View File

@ -13,7 +13,6 @@
* This file provides utilities/wrappers for rtw driver to use ODM * This file provides utilities/wrappers for rtw driver to use ODM
*/ */
void rtw_odm_dbg_comp_msg(struct adapter *adapter);
void rtw_odm_dbg_comp_set(struct adapter *adapter, u64 comps); void rtw_odm_dbg_comp_set(struct adapter *adapter, u64 comps);
void rtw_odm_dbg_level_msg(void *sel, struct adapter *adapter); void rtw_odm_dbg_level_msg(void *sel, struct adapter *adapter);
void rtw_odm_dbg_level_set(struct adapter *adapter, u32 level); void rtw_odm_dbg_level_set(struct adapter *adapter, u32 level);