diff mbox

[DSPBRIGDE,2/6] dsp: bridge: wcd: else is unnecessary

Message ID 1250850219-25545-3-git-send-email-felipe.balbi@nokia.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Felipe Balbi Aug. 21, 2009, 10:23 a.m. UTC
The return makes the use of else unnecessary, remove it

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

Comments

Felipe Balbi Aug. 21, 2009, 10:23 a.m. UTC | #1
we all use Makefile, let's keep the name.

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
---
 drivers/dsp/bridge/{Kbuild => Makefile} |    0
 1 files changed, 0 insertions(+), 0 deletions(-)
 rename drivers/dsp/bridge/{Kbuild => Makefile} (100%)

diff --git a/drivers/dsp/bridge/Kbuild b/drivers/dsp/bridge/Makefile
similarity index 100%
rename from drivers/dsp/bridge/Kbuild
rename to drivers/dsp/bridge/Makefile
Guzman Lugo, Fernando Aug. 31, 2009, 8:10 p.m. UTC | #2
Acked-by: Fernando Guzman Lugo <x0095840@ti.com>


>-----Original Message-----
>From: Felipe Balbi [mailto:felipe.balbi@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 3/6] dsp: bridge: rename Kbuild to Makefile
>
>we all use Makefile, let's keep the name.
>
>Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
>---
> drivers/dsp/bridge/{Kbuild => Makefile} |    0
> 1 files changed, 0 insertions(+), 0 deletions(-)
> rename drivers/dsp/bridge/{Kbuild => Makefile} (100%)
>
>diff --git a/drivers/dsp/bridge/Kbuild b/drivers/dsp/bridge/Makefile
>similarity index 100%
>rename from drivers/dsp/bridge/Kbuild
>rename to drivers/dsp/bridge/Makefile
>--
>1.6.3.3.385.g60647
>

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

Patch

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;
 }
 
 /*