summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wctdm.c
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2011-01-03 18:28:11 +0000
committerShaun Ruffell <sruffell@digium.com>2011-01-03 18:28:11 +0000
commit5b264022b3c932c7c9d3d854c927dffe4984e898 (patch)
treeb13fce82eb4d8e029f76a1416e1afaf0515f7602 /drivers/dahdi/wctdm.c
parent889ab7e2ab312aeeb481c460504314b1a95769d0 (diff)
dahdi: Remove three maxchans/DAHDI_MAX_CHANNELS references.
In dahdi_chec_conf, dahdi_chan_unreg, and dahdi_ioctl_confdiag maxchans and DAHDI_MAX_CHANNELS was used to scan through all the channels. Since the channels are stored on the list of spans and list of pseudo channels, we can directly iterate through those lists. This also paves the way for removing the arbitrary limit on the number of channels in the driver. Signed-off-by: Shaun Ruffell <sruffell@digium.com> Acked-by: Kinsey Moore <kmoore@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9608 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wctdm.c')
0 files changed, 0 insertions, 0 deletions