Staging: media: Remove unnecessary goto.

Remove unnecessary goto.

Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Sandhya Bankar 2016-03-06 18:54:09 +05:30 committed by Greg Kroah-Hartman
parent 4a1e81bc5d
commit 58f31812b0

View File

@ -1828,17 +1828,14 @@ static int bcm2048_deinit(struct bcm2048_device *bdev)
err = bcm2048_set_audio_route(bdev, 0);
if (err < 0)
goto exit;
return err;
err = bcm2048_set_dac_output(bdev, 0);
if (err < 0)
goto exit;
return err;
err = bcm2048_set_power_state(bdev, BCM2048_POWER_OFF);
if (err < 0)
goto exit;
exit:
return err;
}