From: Hiroshi DOYU <Hiroshi.DOYU@xxxxxxxxx> Date: Mon, 17 Nov 2008 17:13:58 -0600 Subject: [PATCH] DSPBRIDGE Deleting unneeded mem alloc Since "SYNC_InitializeCS()" allocates "struct SYNC_CSOBJECT" for "hProcLock", "MEM_AllocObject()" shouldn't be called for "hProcLock". This was double allocation for the same pointer. Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@xxxxxxxxx> --- drivers/dsp/bridge/rmgr/proc.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/dsp/bridge/rmgr/proc.c b/drivers/dsp/bridge/rmgr/proc.c index d7798e7..9afaaad 100644 --- a/drivers/dsp/bridge/rmgr/proc.c +++ b/drivers/dsp/bridge/rmgr/proc.c @@ -1009,7 +1009,6 @@ bool PROC_Init(void) DBC_Assert(!PROC_DebugMask.flags); GT_create(&PROC_DebugMask, "PR"); /* "PR" for Processor */ - MEM_AllocObject(hProcLock, struct SYNC_CSOBJECT, SIGNATURECS); (void)SYNC_InitializeCS(&hProcLock); } -- 1.6.0 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html