mt76usb: remove mt76u_buf redundant fileds

Remove mt76u_buf->{len, buf} fields and operate on corresponding
urb fields directly.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Stanislaw Gruszka
2019-03-21 16:25:30 +01:00
committed by Felix Fietkau
parent 112f980ac8
commit 26031b39bb
2 changed files with 31 additions and 27 deletions

View File

@@ -91,8 +91,6 @@ struct mt76_tx_info {
struct mt76u_buf {
struct urb *urb;
size_t len;
void *buf;
bool done;
};