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

This member of the subdevice private data is always initialize to
'0' due to the 'thisasic_chanct' 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