Commit ee1e755f authored by Ivo van Doorn's avatar Ivo van Doorn Committed by John W. Linville

rt2x00: Reduce indenting

Cosmetic change, reduce indenting.
Signed-off-by: default avatarIvo van Doorn <IvDoorn@gmail.com>
Acked-by: default avatarHelmut Schaa <helmut.schaa@googlemail.com>
Acked-by: default avatarGertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 93331458
......@@ -232,7 +232,9 @@ static inline void rt2x00usb_kick_tx_entry(struct queue_entry *entry)
struct queue_entry_priv_usb *entry_priv = entry->priv_data;
u32 length;
if (test_and_clear_bit(ENTRY_DATA_PENDING, &entry->flags)) {
if (!test_and_clear_bit(ENTRY_DATA_PENDING, &entry->flags))
return;
/*
* USB devices cannot blindly pass the skb->len as the
* length of the data to usb_fill_bulk_urb. Pass the skb
......@@ -246,7 +248,6 @@ static inline void rt2x00usb_kick_tx_entry(struct queue_entry *entry)
rt2x00usb_interrupt_txdone, entry);
usb_submit_urb(entry_priv->urb, GFP_ATOMIC);
}
}
void rt2x00usb_kick_tx_queue(struct data_queue *queue)
......
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