From: Ramsey Harris Date: Wed, 26 Nov 2014 01:37:22 +0000 (-0800) Subject: Cleanup, removed unused local array: sharedCreateId X-Git-Tag: 3.35.00.01_eng~3 X-Git-Url: https://git.ti.com/gitweb?p=ipc%2Fipcdev.git;a=commitdiff_plain;h=c01d0a6ee6d1557fbc5f0a32953ed08c5c612b20 Cleanup, removed unused local array: sharedCreateId This array was allocated and initialized at config time but never used. Furthermore, the array size was always zero. --- diff --git a/packages/ti/sdo/ipc/MessageQ.xs b/packages/ti/sdo/ipc/MessageQ.xs index 6e760bd..8417abf 100644 --- a/packages/ti/sdo/ipc/MessageQ.xs +++ b/packages/ti/sdo/ipc/MessageQ.xs @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2013, Texas Instruments Incorporated + * Copyright (c) 2012-2014 Texas Instruments Incorporated - http://www.ti.com * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -42,7 +42,6 @@ var Settings = null; var SyncSem = null; var instCount = 0; /* use to determine if processing last instance */ -var sharedCreateId = new Array(); /* * ======== module$meta$init ======== @@ -53,14 +52,6 @@ function module$meta$init(name) if (xdc.om.$name != "cfg") { return; } - - /* Initialize the shared CreateId array */ - var MultiProc = xdc.module('ti.sdo.utils.MultiProc'); - sharedCreateId.length != MultiProc.numProcessors; - - for (var i = 0; i < sharedCreateId.length; i++) { - sharedCreateId[i] = 1; - } } /*