diff options
author | Fabio Aiuto <fabioaiuto83@gmail.com> | 2021-03-27 17:24:00 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-28 15:36:59 +0300 |
commit | a9c6a84991c90f87177007c7f0e1c45638bcc0a8 (patch) | |
tree | 5fc74588badb7064397fea6ec0f62263f2e64367 /drivers | |
parent | 7a151e9c0a74ff18b2aad16ae6ec931e40c1f148 (diff) | |
download | linux-a9c6a84991c90f87177007c7f0e1c45638bcc0a8.tar.xz |
staging: rtl8723bs: remove unused macros in include/hal_com.h
remove declarations of unused macros in include/hal_com.h
Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/3914fc4c7182988c92b794357c7a3e4ef3b484d6.1616854134.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/rtl8723bs/include/hal_com.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/rtl8723bs/include/hal_com.h b/drivers/staging/rtl8723bs/include/hal_com.h index 3629b912698a..dc023dd17534 100644 --- a/drivers/staging/rtl8723bs/include/hal_com.h +++ b/drivers/staging/rtl8723bs/include/hal_com.h @@ -181,10 +181,6 @@ enum rt_media_status { #define TX_SELE_EQ BIT(3) /* Extern Queue */ #define PageNum_128(_Len) (u32)(((_Len)>>7) + ((_Len)&0x7F ? 1:0)) -#define PageNum_256(_Len) (u32)(((_Len)>>8) + ((_Len)&0xFF ? 1:0)) -#define PageNum_512(_Len) (u32)(((_Len)>>9) + ((_Len)&0x1FF ? 1:0)) -#define PageNum(_Len, _Size) (u32)(((_Len)/(_Size)) + ((_Len)&((_Size) - 1) ? 1:0)) - u8 rtw_hal_data_init(struct adapter *padapter); void rtw_hal_data_deinit(struct adapter *padapter); |