Commit b8bfa4c5 authored by Víctor Manuel Jáquez Leal's avatar Víctor Manuel Jáquez Leal Committed by Greg Kroah-Hartman

staging: tidspbridge: remove trivial assert

The function dsp_deinit() always return true, so assert its output is
pointless. As consequence the variable were the returned value is stored, is
no longer needed.
Signed-off-by: default avatarVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0b86809a
...@@ -531,7 +531,6 @@ static int __devinit omap34_xx_bridge_probe(struct platform_device *pdev) ...@@ -531,7 +531,6 @@ static int __devinit omap34_xx_bridge_probe(struct platform_device *pdev)
static int __devexit omap34_xx_bridge_remove(struct platform_device *pdev) static int __devexit omap34_xx_bridge_remove(struct platform_device *pdev)
{ {
dev_t devno; dev_t devno;
bool ret;
int status = 0; int status = 0;
struct drv_data *drv_datap = dev_get_drvdata(bridge); struct drv_data *drv_datap = dev_get_drvdata(bridge);
...@@ -551,9 +550,8 @@ static int __devexit omap34_xx_bridge_remove(struct platform_device *pdev) ...@@ -551,9 +550,8 @@ static int __devexit omap34_xx_bridge_remove(struct platform_device *pdev)
if (driver_context) { if (driver_context) {
/* Put the DSP in reset state */ /* Put the DSP in reset state */
ret = dsp_deinit(driver_context); dsp_deinit(driver_context);
driver_context = 0; driver_context = 0;
DBC_ASSERT(ret == true);
} }
func_cont: func_cont:
......
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