summaryrefslogtreecommitdiff
path: root/drivers/staging/gdm724x
diff options
context:
space:
mode:
authorGulsah Kose <gulsah.1004@gmail.com>2014-09-26 23:50:09 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-28 23:27:34 -0400
commitd1fed0287238ea050163ae7c609306c0e5bfee41 (patch)
tree9ef2517c72e919c716474d45005865e7e4010f55 /drivers/staging/gdm724x
parenta256779f7de73679bbe90be4e49fd70a4e7f5f43 (diff)
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>
Diffstat (limited to 'drivers/staging/gdm724x')
-rw-r--r--drivers/staging/gdm724x/gdm_usb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/gdm724x/gdm_usb.c b/drivers/staging/gdm724x/gdm_usb.c
index 5d44490ba77c..d2a3b350ba6d 100644
--- a/drivers/staging/gdm724x/gdm_usb.c
+++ b/drivers/staging/gdm724x/gdm_usb.c
@@ -664,9 +664,8 @@ static void do_tx(struct work_struct *work)
if (!udev->send_complete) {
spin_unlock_irqrestore(&tx->lock, flags);
return;
- } else {
- udev->send_complete = 0;
}
+ udev->send_complete = 0;
if (!list_empty(&tx->hci_list)) {
t = list_entry(tx->hci_list.next, struct usb_tx, list);