提交 58f31812 编写于 作者: S Sandhya Bankar 提交者: Greg Kroah-Hartman

Staging: media: Remove unnecessary goto.

Remove unnecessary goto.
Signed-off-by: NSandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册