From 561fb403ba3393e7382faf5553eaefbd6c88bedb Mon Sep 17 00:00:00 2001 From: Jes Sorensen Date: Fri, 9 May 2014 15:04:20 +0200 Subject: [PATCH] staging: rtl8723au: pattrib->priority can't be > 15, no need for CHKBIT() Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8723au/core/rtw_mlme.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_mlme.c b/drivers/staging/rtl8723au/core/rtw_mlme.c index 900fc520d7ce..a5fca8141e32 100644 --- a/drivers/staging/rtl8723au/core/rtw_mlme.c +++ b/drivers/staging/rtl8723au/core/rtw_mlme.c @@ -2449,8 +2449,7 @@ void rtw_issue_addbareq_cmd23a(struct rtw_adapter *padapter, if (issued == 0) { DBG_8723A("rtw_issue_addbareq_cmd23a, p =%d\n", priority); - psta->htpriv.candidate_tid_bitmap |= - CHKBIT((u8)priority); + psta->htpriv.candidate_tid_bitmap |= BIT(priority); rtw_addbareq_cmd23a(padapter, (u8) priority, pattrib->ra); } -- 2.30.2