Cleanup chan_local.c:local_new().
authorRichard Mudgett <rmudgett@digium.com>
Wed, 1 May 2013 21:35:53 +0000 (21:35 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 1 May 2013 21:35:53 +0000 (21:35 +0000)
commite4db1903a29d8f17ee92b09e69432facf227aef4
treea9b7d5c28f9765692b9cf5e76fc77de8ea69320e
parentf054420df24dfd0a80359620fdd60be0a0578046
Cleanup chan_local.c:local_new().

* Remove t and ama local variables.  There is no way they could be
anything other than default because p->owner can only be NULL at this
point.

* Rename tmp and tmp2 to owner and chan respectively.

* Remove redundant initialization of channel context, exten, priority.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@387260 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_local.c