Commit be25cfd8 authored by Brother Matthew De Angelis's avatar Brother Matthew De Angelis Committed by Greg Kroah-Hartman

Staging: rtl8723bs/core: delete empty if statement

Delete an if statement that was not executing anything when true.
This has the side effect of removing one checkpatch warning about braces
not being necessary.
Signed-off-by: default avatarBrother Matthew De Angelis <matthew.v.deangelis@gmail.com>
Link: https://lore.kernel.org/r/1895dc8a7b44bfdcb6a46273703fabad80cbdf99.1607209336.git.matthew.v.deangelis@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6c91799f
...@@ -937,9 +937,6 @@ sint ap2sta_data_frame(struct adapter *adapter, union recv_frame *precv_frame, ...@@ -937,9 +937,6 @@ sint ap2sta_data_frame(struct adapter *adapter, union recv_frame *precv_frame,
goto exit; goto exit;
} }
if ((GetFrameSubType(ptr) & WIFI_QOS_DATA_TYPE) == WIFI_QOS_DATA_TYPE) {
}
if (GetFrameSubType(ptr) & BIT(6)) { if (GetFrameSubType(ptr) & BIT(6)) {
/* No data, will not indicate to upper layer, temporily count it here */ /* No data, will not indicate to upper layer, temporily count it here */
count_rx_stats(adapter, precv_frame, *psta); count_rx_stats(adapter, precv_frame, *psta);
......
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