dahdi-linux/drivers
Shaun Ruffell 46cfdca5d5 wct4xxp: t4_serial_setup() was called more often than necessary.
The driver iterates through all the spans on a given device during assignment,
checking for unassigned spans, but it was erroneously testing the span on which
assigned was called.

This just removes some unexpected behavior and provides a slight performance
increase on load and does not impact the functionality of the driver as far as
I'm aware.

Reported-by: Doug Bailey <dbailey@digium.com>
Signed-off-by: Shaun Ruffell <sruffell@digium.com>
(cherry picked from commit 9de213b104)
2013-01-25 13:10:10 -06:00
..
dahdi wct4xxp: t4_serial_setup() was called more often than necessary. 2013-01-25 13:10:10 -06:00