]> sigrok.org Git - sigrok-firmware-fx2lafw.git/commitdiff
fx2lafw: remove break after return
authorStefan Brüns <redacted>
Fri, 29 Dec 2017 01:38:23 +0000 (02:38 +0100)
committerUwe Hermann <redacted>
Wed, 17 Jan 2018 16:45:25 +0000 (17:45 +0100)
fx2lafw.c

index 4a1dfe41c187fed23cc5c32e221c03a7d64c0cc0..a1a486cd291b8d97bf91c5071d42d68dff2070f8 100644 (file)
--- a/fx2lafw.c
+++ b/fx2lafw.c
@@ -130,15 +130,12 @@ BOOL handle_vendorcommand(BYTE cmd)
                vendor_command = cmd;
                EP0BCL = 0;
                return TRUE;
-               break;
        case CMD_GET_FW_VERSION:
                send_fw_version();
                return TRUE;
-               break;
        case CMD_GET_REVID_VERSION:
                send_revid_version();
                return TRUE;
-               break;
        }
 
        return FALSE;