[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1432758345-8095-1-git-send-email-laurent.navet@gmail.com>
Date: Wed, 27 May 2015 22:25:45 +0200
From: Laurent Navet <laurent.navet@...il.com>
To: gregkh@...uxfoundation.org
Cc: benchan@...omium.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org,
Laurent Navet <laurent.navet@...il.com>
Subject: [PATCH] staging: gdm72xx: remove unneeded test
The same code is executed regardless ret value, so this test can be
removed.
Signed-off-by: Laurent Navet <laurent.navet@...il.com>
---
drivers/staging/gdm72xx/usb_boot.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/gdm72xx/usb_boot.c b/drivers/staging/gdm72xx/usb_boot.c
index 3ccc447..7f80553 100644
--- a/drivers/staging/gdm72xx/usb_boot.c
+++ b/drivers/staging/gdm72xx/usb_boot.c
@@ -255,8 +255,6 @@ static int em_wait_ack(struct usb_device *usbdev, int send_zlp)
/*Wait for ACK*/
ret = gdm_wibro_recv(usbdev, &ack, sizeof(ack));
- if (ret < 0)
- goto out;
out:
return ret;
}
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists