]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: pcmuio: remove 'first_chan'
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 18 Jun 2013 20:22:07 +0000 (13:22 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Jun 2013 22:51:01 +0000 (15:51 -0700)
commitd9990ceacc39b4320661adf7778538858a5c4bad
treeaac6a1e7cac041d419e82bce43b55d761651ecb5
parent3de38f258f95b6dc9f614e1f64b8d596a75533e0
staging: comedi: pcmuio: remove 'first_chan'

This member of the subdevice private data is always initialize to
'0' due to the 'byte_no' always being zero when it is set during
the attach. Simplify the driver a bit by removing it.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/pcmuio.c