staging: comedi: 8253.h: checkpatch.pl cleanup (void function return)
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 16 Jul 2014 18:01:49 +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/8253.h

index 5829b46b757b9e959d18ada06f07b17ae09a93fe..035b3e30efc1a9d11f3651eee7ea4eb567997ac7 100644 (file)
@@ -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