sorcery.c: Minor optimizations.
authorRichard Mudgett <rmudgett@digium.com>
Thu, 4 Aug 2016 20:57:12 +0000 (15:57 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Mon, 15 Aug 2016 18:15:02 +0000 (13:15 -0500)
commitd526aa5cbe55afdd0b10acb0e4fec71dc9b38e83
tree8877cb069f2fe1fef92d1cea9304236e6174738c
parent45e143576f02f72edefd94d74d6d21aa1d433f1c
sorcery.c: Minor optimizations.

* Remove some unused parameters from internal functions:
sorcery_wizard_create()
sorcery_wizard_update()
sorcery_wizard_delete()

* Created the struct sorcery_observer_invocation ao2 object without a lock
since it is not needed in sorcery_observer_invocation_alloc().

* Cleanup generic ao2 container sorcery object id hash, sort, and cmp
functions.

Change-Id: Iff71d75f52bc1b8cee955456838c149faaa4f92e
main/sorcery.c