OSDN Git Service

staging: comedi: dmm32at: remove dmm32at_ns_to_timer()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 11 Nov 2014 23:55:25 +0000 (16:55 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2014 23:33:23 +0000 (15:33 -0800)
commitec1b2320009bc2a9893c7a6eef32fdced0b4455d
tree5cc47abb27024810a5e5f22e73f5d46342383554
parent85b0e7668a8d187c2bd59f5f60338168513e5602
staging: comedi: dmm32at: remove dmm32at_ns_to_timer()

This function is not necessary. It simply returns the 'ns' value that was
passed to it.

Remove it as well as the unnecessary Step 4 check of the cmd->convert_arg.

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