]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: dt3000: tidy up digital i/o subdevice init
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 8 Oct 2015 17:48:26 +0000 (10:48 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 05:59:26 +0000 (22:59 -0700)
commit453bdb5f3c0392cb0cfb0ed5765d7f9dbcd463c7
treea052b4ed2880dfbae8b3dcd2c1cb6f2390e447e0
parent3323ab3bc19893c0586a687d7fe0cf139b01c85b
staging: comedi: dt3000: tidy up digital i/o subdevice init

Remove the unnecessary 'len_chanlist' initialization. This member is
only used by subdevices that support async commands.

For aesthetics, reorder the initialization a bit.

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/dt3000.c