From: Jes Sorensen Date: Fri, 9 May 2014 13:04:20 +0000 (+0200) Subject: staging: rtl8723au: pattrib->priority can't be > 15, no need for CHKBIT() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=561fb403ba3393e7382faf5553eaefbd6c88bedb;p=linux-beck.git staging: rtl8723au: pattrib->priority can't be > 15, no need for CHKBIT() Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- 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); }