mirror of
https://github.com/torvalds/linux.git
synced 2024-11-30 16:11:38 +00:00
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:
parent
4a1e81bc5d
commit
58f31812b0
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user