remove unneeded explicit channel in dahdi ioctls
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>
Thu, 25 Mar 2010 10:09:24 +0000 (10:09 +0000)
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>
Thu, 25 Mar 2010 10:09:24 +0000 (10:09 +0000)
commit8acb32460a7931825f1c882c23aee73364ac1a0c
tree8e6955c3171e11a21d5d090276a4768718888a10
parent10d65ad6b183196acb0eab2a319cb0ade10f51d2
remove unneeded explicit channel in dahdi ioctls

This patch removes some cases where the channel number for an ioctl was
passed as a member in a struct rather then through the file descriptor.

The gain setting functions passed around a channel which is always 0,
and thus this parameter is simply dropped.

Review: https://reviewboard.asterisk.org/r/584/

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