staging: gdm724x: Removed unnecessary else expression.
This patch fixes "else is not generally useful after a break or return" checkpatch.pl warning in gdm_usb.c Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a256779f7d
commit
d1fed02872
@@ -664,9 +664,8 @@ static void do_tx(struct work_struct *work)
|
|||||||
if (!udev->send_complete) {
|
if (!udev->send_complete) {
|
||||||
spin_unlock_irqrestore(&tx->lock, flags);
|
spin_unlock_irqrestore(&tx->lock, flags);
|
||||||
return;
|
return;
|
||||||
} else {
|
|
||||||
udev->send_complete = 0;
|
|
||||||
}
|
}
|
||||||
|
udev->send_complete = 0;
|
||||||
|
|
||||||
if (!list_empty(&tx->hci_list)) {
|
if (!list_empty(&tx->hci_list)) {
|
||||||
t = list_entry(tx->hci_list.next, struct usb_tx, list);
|
t = list_entry(tx->hci_list.next, struct usb_tx, list);
|
||||||
|
|||||||
Reference in New Issue
Block a user