Commit 58f31812 authored by Sandhya Bankar's avatar Sandhya Bankar Committed by Greg Kroah-Hartman

Staging: media: Remove unnecessary goto.

Remove unnecessary goto.
Signed-off-by: default avatarSandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4a1e81bc
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment