thor: cmd: remove duplicated label 'bad_args'
authorjino.cho <jino.cho@samsung.com>
Thu, 14 Apr 2016 06:08:50 +0000 (15:08 +0900)
committerjino.cho <jino.cho@samsung.com>
Thu, 14 Apr 2016 06:08:50 +0000 (15:08 +0900)
This commit fixs build error.

Change-Id: If5c6ffd0ca0230316c50b56dbc37a29fd32198f7
Signed-off-by: jino.cho <jino.cho@samsung.com>
common/cmd_thordown.c

index 7e65a32d8169a004c3bce296654b6a2a0168ec49..b233479dbdceb8801c8e0703fc95453f3742f693 100644 (file)
@@ -76,13 +76,6 @@ exit:
        board_usb_cleanup(controller_index, USB_INIT_DEVICE);
 done:
        dfu_free_entities();
-bad_args:
-       if (argc == 1) {
-               free(usb_controller);
-               free(interface);
-               free(devstring);
-       }
-
 bad_args:
        if (argc == 1) {
                free(usb_controller);