[asterisk-commits] eliel: branch eliel/data_retrieval r183644 - /team/eliel/data_retrieval/main/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sat Mar 21 14:27:22 CDT 2009
Author: eliel
Date: Sat Mar 21 14:27:19 2009
New Revision: 183644
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=183644
Log:
It is not necessarry to save the parent pointer.
Modified:
team/eliel/data_retrieval/main/data.c
Modified: team/eliel/data_retrieval/main/data.c
URL: http://svn.digium.com/svn-view/asterisk/team/eliel/data_retrieval/main/data.c?view=diff&rev=183644&r1=183643&r2=183644
==============================================================================
--- team/eliel/data_retrieval/main/data.c (original)
+++ team/eliel/data_retrieval/main/data.c Sat Mar 21 14:27:19 2009
@@ -40,8 +40,6 @@
ast_data_cb read;
/*! \brief children nodes. */
struct ao2_container *children;
- /*! \brief The parent container of this data_node. */
- struct ao2_container *parent;
/*! \brief node name. */
char name[0];
};
@@ -171,8 +169,6 @@
if (!child) {
return NULL;
}
-
- child->parent = parent;
ao2_link(parent, child);
More information about the asterisk-commits
mailing list