Skip to content
Commit 3b902fa8 authored by Soeren Moch's avatar Soeren Moch Committed by Kalle Valo
Browse files

rt2x00usb: remove unnecessary rx flag checks



In contrast to the TX path, there is no need to separately read the transfer
status from the device after receiving RX data. Consequently, there is no
real STATUS_PENDING RX processing queue entry state.
Remove the unnecessary ENTRY_DATA_STATUS_PENDING flag checks from the RX path.
Also remove the misleading comment about reading RX status from device.

Suggested-by: default avatarStanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: default avatarSoeren Moch <smoch@web.de>
Acked-by: default avatarStanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 231e83fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment