staging: comedi: amplc_pci230: checkpatch.pl cleanup (void function return)
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 16 Jul 2014 18:01:52 +0000 (11:01 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jul 2014 20:37:18 +0000 (13:37 -0700)
Fix the checkpatch.pl warning in this file:

WARNING: void function return statements are not generally useful

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

index 3895bc7cb3e352f965e4862c4e083e6a8d935721..f003449022166f9f8c525d708eab525dbdbb50bc 100644 (file)
@@ -758,7 +758,6 @@ static void pci230_ns_to_single_timer(unsigned int *ns, unsigned int round)
 
        clk_src = pci230_choose_clk_count(*ns, &count, round);
        *ns = count * pci230_timebase[clk_src];
-       return;
 }
 
 static void pci230_ct_setup_ns_mode(struct comedi_device *dev, unsigned int ct,