]> git.openfabrics.org - ~emulex/infiniband.git/commit
staging: comedi: adv_pci1710: remove 'ai_timer1' from private data
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 23 Apr 2014 23:06:52 +0000 (16:06 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Apr 2014 22:07:39 +0000 (15:07 -0700)
commitcd0164e61680c2b643f34ced0955bff54ffe8f46
treeca601db625d97c400b70011d84045b2ef36b8a8f
parent060e3fe398479c067e8edcee5862500534cb75dd
staging: comedi: adv_pci1710: remove 'ai_timer1' from private data

This member of the private data is just a copy of the cmd->convert_arg.
Use that instead and remove the unnecessary sanity checking since it
was already validated in the (*do_cmdtest).

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