Acked-by: Fernando Guzman Lugo <x0095...@ti.com>

-----Original Message-----
From: Felipe Balbi [mailto:felipe.ba...@nokia.com] 
Sent: Friday, August 21, 2009 5:24 AM
To: Hiroshi DOYU
Cc: Ameya Palande; Guzman Lugo, Fernando; Linux OMAP Mailing List; Felipe Balbi
Subject: [DSPBRIGDE PATCH 2/6] dsp: bridge: wcd: else is unnecessary

The return makes the use of else unnecessary, remove it

Signed-off-by: Felipe Balbi <felipe.ba...@nokia.com>
---
 drivers/dsp/bridge/pmgr/wcd.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/dsp/bridge/pmgr/wcd.c b/drivers/dsp/bridge/pmgr/wcd.c
index 7434f43..01c9572 100644
--- a/drivers/dsp/bridge/pmgr/wcd.c
+++ b/drivers/dsp/bridge/pmgr/wcd.c
@@ -260,9 +260,9 @@ inline DSP_STATUS WCD_CallDevIOCtl(u32 cmd, union 
Trapped_Args *args,
                /* make the fxn call via the cmd table */
                *pResult = (*WCD_cmdTable[cmd].fxn) (args);
                return DSP_SOK;
-       } else {
-               return DSP_EINVALIDARG;
        }
+
+       return DSP_EINVALIDARG;
 }
 
 /*
-- 
1.6.3.3.385.g60647


--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to