From: H Hartley Sweeten Date: Wed, 16 Jul 2014 18:01:49 +0000 (-0700) Subject: staging: comedi: 8253.h: checkpatch.pl cleanup (void function return) X-Git-Tag: firefly_0821_release~176^2~3491^2~630 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=214c043fc77d97f1b1e2fe8ebe2de4c8559d1e4f;p=firefly-linux-kernel-4.4.55.git staging: comedi: 8253.h: 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/8253.h b/drivers/staging/comedi/drivers/8253.h index 5829b46b757b..035b3e30efc1 100644 --- a/drivers/staging/comedi/drivers/8253.h +++ b/drivers/staging/comedi/drivers/8253.h @@ -118,7 +118,6 @@ static inline void i8253_cascade_ns_to_timer(int i8253_osc_base, /* masking is done since counter maps zero to 0x10000 */ *d1 = div1 & 0xffff; *d2 = div2 & 0xffff; - return; } #ifndef CMDTEST