diff options
Diffstat (limited to 'drivers/media/dvb/b2c2/flexcop-usb.c')
-rw-r--r-- | drivers/media/dvb/b2c2/flexcop-usb.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/media/dvb/b2c2/flexcop-usb.c b/drivers/media/dvb/b2c2/flexcop-usb.c index 06ec9fff0ec1..515954f96c9a 100644 --- a/drivers/media/dvb/b2c2/flexcop-usb.c +++ b/drivers/media/dvb/b2c2/flexcop-usb.c | |||
@@ -433,11 +433,10 @@ static int flexcop_usb_transfer_init(struct flexcop_usb *fc_usb) | |||
433 | flexcop_wan_set_speed(fc_usb->fc_dev,FC_WAN_SPEED_8MBITS); | 433 | flexcop_wan_set_speed(fc_usb->fc_dev,FC_WAN_SPEED_8MBITS); |
434 | flexcop_sram_ctrl(fc_usb->fc_dev,1,1,1); | 434 | flexcop_sram_ctrl(fc_usb->fc_dev,1,1,1); |
435 | 435 | ||
436 | ret = 0; | 436 | return 0; |
437 | goto success; | 437 | |
438 | urb_error: | 438 | urb_error: |
439 | flexcop_usb_transfer_exit(fc_usb); | 439 | flexcop_usb_transfer_exit(fc_usb); |
440 | success: | ||
441 | return ret; | 440 | return ret; |
442 | } | 441 | } |
443 | 442 | ||
@@ -515,15 +514,14 @@ static int flexcop_usb_probe(struct usb_interface *intf, | |||
515 | goto err_fc_exit; | 514 | goto err_fc_exit; |
516 | 515 | ||
517 | info("%s successfully initialized and connected.",DRIVER_NAME); | 516 | info("%s successfully initialized and connected.",DRIVER_NAME); |
518 | ret = 0; | 517 | return 0; |
519 | goto success; | 518 | |
520 | err_fc_exit: | 519 | err_fc_exit: |
521 | flexcop_device_exit(fc); | 520 | flexcop_device_exit(fc); |
522 | err_usb_exit: | 521 | err_usb_exit: |
523 | flexcop_usb_exit(fc_usb); | 522 | flexcop_usb_exit(fc_usb); |
524 | err_kfree: | 523 | err_kfree: |
525 | flexcop_device_kfree(fc); | 524 | flexcop_device_kfree(fc); |
526 | success: | ||
527 | return ret; | 525 | return ret; |
528 | } | 526 | } |
529 | 527 | ||