From: H Hartley Sweeten Date: Wed, 16 Jul 2014 18:01:52 +0000 (-0700) Subject: staging: comedi: amplc_pci230: checkpatch.pl cleanup (void function return) X-Git-Tag: v3.17-rc1~123^2~627 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0a9e58d6e68f1656be234e92a4eeae8f98dd4dd1;p=karo-tx-linux.git staging: comedi: amplc_pci230: checkpatch.pl cleanup (void function return) Fix the checkpatch.pl warning in this file: WARNING: void function return statements are not generally useful Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/amplc_pci230.c b/drivers/staging/comedi/drivers/amplc_pci230.c index 3895bc7cb3e3..f00344902216 100644 --- a/drivers/staging/comedi/drivers/amplc_pci230.c +++ b/drivers/staging/comedi/drivers/amplc_pci230.c @@ -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,