[PATCH v3 4/7] DSPBRIDGE: remove ioctl runtime check

2010-01-11 Thread Omar Ramirez Luna
This patch removes the runtime check of device
ioctl array.

Signed-off-by: Omar Ramirez Luna 
CC: Nishanth Menon 
CC: Hiroshi Doyu 
CC: Ameya Palande 
CC: Felipe Contreras 
---
 drivers/dsp/bridge/pmgr/wcd.c |6 --
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/drivers/dsp/bridge/pmgr/wcd.c b/drivers/dsp/bridge/pmgr/wcd.c
index f95980b..960b3cb 100644
--- a/drivers/dsp/bridge/pmgr/wcd.c
+++ b/drivers/dsp/bridge/pmgr/wcd.c
@@ -321,13 +321,7 @@ bool WCD_Init(void)
bool fInit = true;
bool fDRV, fDEV, fCOD, fSERVICES, fCHNL, fMSG, fIO;
bool fMGR, fPROC, fNODE, fDISP, fNTFY, fSTRM, fRMM;
-#ifdef DEBUG
-   /* runtime check of Device IOCtl array. */
-   u32 i;
-   for (i = 1; i < ARRAY_SIZE(WCD_cmdTable); i++)
-   DBC_Assert(WCD_cmdTable[i - 1].dwIndex == i);
 
-#endif
if (WCD_cRefs == 0) {
/* initialize all SERVICES modules */
fSERVICES = SERVICES_Init();
-- 
1.6.2.4

--
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


RE: [PATCH v3 4/7] DSPBRIDGE: remove ioctl runtime check

2010-01-13 Thread Ramirez Luna, Omar
>From: Ramirez Luna, Omar
>Sent: Monday, January 11, 2010 7:01 PM
>To: linux-omap
>Cc: Ramirez Luna, Omar; Menon, Nishanth; Hiroshi Doyu; Ameya Palande; Felipe 
>Contreras
>Subject: [PATCH v3 4/7] DSPBRIDGE: remove ioctl runtime check
>
>This patch removes the runtime check of device
>ioctl array.
>
>Signed-off-by: Omar Ramirez Luna 
>---
> drivers/dsp/bridge/pmgr/wcd.c |6 --
> 1 files changed, 0 insertions(+), 6 deletions(-)
>

Pushed to dspbridge

- omar
--
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