We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbc7568 commit a51942dCopy full SHA for a51942d
drivers/staging/rtl8723bs/include/drv_types.h
@@ -452,14 +452,7 @@ struct adapter {
452
#define DF_RX_BIT BIT1
453
#define DF_IO_BIT BIT2
454
455
-/* define RTW_DISABLE_FUNC(padapter, func) (atomic_add(&adapter_to_dvobj(padapter)->disable_func, (func))) */
456
/* define RTW_ENABLE_FUNC(padapter, func) (atomic_sub(&adapter_to_dvobj(padapter)->disable_func, (func))) */
457
-static inline void RTW_DISABLE_FUNC(struct adapter *padapter, int func_bit)
458
-{
459
- int df = atomic_read(&adapter_to_dvobj(padapter)->disable_func);
460
- df |= func_bit;
461
- atomic_set(&adapter_to_dvobj(padapter)->disable_func, df);
462
-}
463
464
static inline void RTW_ENABLE_FUNC(struct adapter *padapter, int func_bit)
465
{
0 commit comments