Commit 2172a657 authored by Fabio Aiuto's avatar Fabio Aiuto Committed by Greg Kroah-Hartman

staging: rtl8723bs: remove commented out RT_ASSERT occurrences

remove commented out obsoete RT_ASSERT macro occurences.
Reviewed-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarFabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/3ee98d7bf1685af627e625f413de355fce58d52d.1619794331.git.fabioaiuto83@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 22a555bb
...@@ -1794,8 +1794,6 @@ static int recv_indicatepkts_in_order(struct adapter *padapter, struct recv_reor ...@@ -1794,8 +1794,6 @@ static int recv_indicatepkts_in_order(struct adapter *padapter, struct recv_reor
/* pTS->RxIndicateState = RXTS_INDICATE_PROCESSING; */ /* pTS->RxIndicateState = RXTS_INDICATE_PROCESSING; */
/* Indicate packets */ /* Indicate packets */
/* RT_ASSERT((index<=REORDER_WIN_SIZE), ("RxReorderIndicatePacket(): Rx Reorder buffer full!!\n")); */
/* indicate this recv_frame */ /* indicate this recv_frame */
/* DbgPrint("recv_indicatepkts_in_order, indicate_seq =%d, seq_num =%d\n", precvpriv->indicate_seq, pattrib->seq_num); */ /* DbgPrint("recv_indicatepkts_in_order, indicate_seq =%d, seq_num =%d\n", precvpriv->indicate_seq, pattrib->seq_num); */
......
...@@ -122,7 +122,6 @@ static int _WriteFW(struct adapter *padapter, void *buffer, u32 size) ...@@ -122,7 +122,6 @@ static int _WriteFW(struct adapter *padapter, void *buffer, u32 size)
u8 *bufferPtr = buffer; u8 *bufferPtr = buffer;
pageNums = size / MAX_DLFW_PAGE_SIZE; pageNums = size / MAX_DLFW_PAGE_SIZE;
/* RT_ASSERT((pageNums <= 4), ("Page numbers should not greater then 4\n")); */
remainSize = size % MAX_DLFW_PAGE_SIZE; remainSize = size % MAX_DLFW_PAGE_SIZE;
for (page = 0; page < pageNums; page++) { for (page = 0; page < pageNums; page++) {
......
...@@ -226,7 +226,6 @@ static void _InitNormalChipOneOutEpPriority(struct adapter *Adapter) ...@@ -226,7 +226,6 @@ static void _InitNormalChipOneOutEpPriority(struct adapter *Adapter)
value = QUEUE_NORMAL; value = QUEUE_NORMAL;
break; break;
default: default:
/* RT_ASSERT(false, ("Shall not reach here!\n")); */
break; break;
} }
...@@ -260,7 +259,6 @@ static void _InitNormalChipTwoOutEpPriority(struct adapter *Adapter) ...@@ -260,7 +259,6 @@ static void _InitNormalChipTwoOutEpPriority(struct adapter *Adapter)
valueLow = QUEUE_NORMAL; valueLow = QUEUE_NORMAL;
break; break;
default: default:
/* RT_ASSERT(false, ("Shall not reach here!\n")); */
break; break;
} }
...@@ -325,7 +323,6 @@ static void _InitQueuePriority(struct adapter *Adapter) ...@@ -325,7 +323,6 @@ static void _InitQueuePriority(struct adapter *Adapter)
_InitNormalChipThreeOutEpPriority(Adapter); _InitNormalChipThreeOutEpPriority(Adapter);
break; break;
default: default:
/* RT_ASSERT(false, ("Shall not reach here!\n")); */
break; break;
} }
...@@ -516,7 +513,6 @@ static void _InitOperationMode(struct adapter *padapter) ...@@ -516,7 +513,6 @@ static void _InitOperationMode(struct adapter *padapter)
regBwOpMode = BW_OPMODE_20MHZ; regBwOpMode = BW_OPMODE_20MHZ;
break; break;
case WIRELESS_MODE_A: case WIRELESS_MODE_A:
/* RT_ASSERT(false, ("Error wireless a mode\n")); */
break; break;
case WIRELESS_MODE_G: case WIRELESS_MODE_G:
regBwOpMode = BW_OPMODE_20MHZ; regBwOpMode = BW_OPMODE_20MHZ;
...@@ -530,7 +526,6 @@ static void _InitOperationMode(struct adapter *padapter) ...@@ -530,7 +526,6 @@ static void _InitOperationMode(struct adapter *padapter)
regBwOpMode = BW_OPMODE_20MHZ; regBwOpMode = BW_OPMODE_20MHZ;
break; break;
case WIRELESS_MODE_N_5G: case WIRELESS_MODE_N_5G:
/* RT_ASSERT(false, ("Error wireless mode")); */
regBwOpMode = BW_OPMODE_5G; regBwOpMode = BW_OPMODE_5G;
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment