media: flexcop-usb: delete unneeded return
diff mbox series

Message ID 20210306134225.1659307-1-Julia.Lawall@inria.fr
State Accepted
Commit 41c991bd234982fb2a4e4ecfae68db711a6e3b31
Headers show
Series
  • media: flexcop-usb: delete unneeded return
Related show

Commit Message

Julia Lawall March 6, 2021, 1:42 p.m. UTC
No need for a return after a break;

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

---
 drivers/media/usb/b2c2/flexcop-usb.c |    1 -
 1 file changed, 1 deletion(-)

Patch
diff mbox series

diff --git a/drivers/media/usb/b2c2/flexcop-usb.c b/drivers/media/usb/b2c2/flexcop-usb.c
index e731243267e4..01d22834f4ac 100644
--- a/drivers/media/usb/b2c2/flexcop-usb.c
+++ b/drivers/media/usb/b2c2/flexcop-usb.c
@@ -195,7 +195,6 @@  static int flexcop_usb_memory_req(struct flexcop_usb *fc_usb,
 		break;
 	default:
 		return -EINVAL;
-		break;
 	}
 	for (i = 0; i < len;) {
 		pagechunk =