From: Gulsah Kose Date: Fri, 26 Sep 2014 20:50:09 +0000 (+0300) Subject: staging: gdm724x: Removed unnecessary else expression. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d1fed0287238ea050163ae7c609306c0e5bfee41;p=linux-beck.git 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 Signed-off-by: Greg Kroah-Hartman --- 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);