staging: gs_fpgaboot: remove unnecessary return statements
authorMichał Bartoszkiewicz <mbartoszkiewicz@gmail.com>
Thu, 4 Sep 2014 20:05:36 +0000 (22:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Sep 2014 04:50:30 +0000 (21:50 -0700)
This fixes "void function return statements are not generally useful"
warnings from checkpatch.pl.

Signed-off-by: Michał Bartoszkiewicz <mbartoszkiewicz@gmail.com>
Reviewed-by: Insop Song <insop.song@gainspeed.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gs_fpgaboot/io.c

index 23c12f47c8f16bf8c3290a6f0275aaa68ba67ce0..f5cd33b7c52a0b8576b2832f6e490c8b78a8bca6 100644 (file)
@@ -251,17 +251,14 @@ int xl_init_io(void)
 
 void xl_program_b(int32_t i)
 {
-       return;
 }
 
 void xl_rdwr_b(int32_t i)
 {
-       return;
 }
 
 void xl_csi_b(int32_t i)
 {
-       return;
 }
 
 int xl_get_init_b(void)
@@ -276,17 +273,14 @@ int xl_get_done_b(void)
 
 static inline void byte0_out(unsigned char data)
 {
-       return;
 }
 
 static inline void byte1_out(unsigned char data)
 {
-       return;
 }
 
 static inline void xl_cclk_b(int32_t i)
 {
-       return;
 }
 
 /*
This page took 0.02515 seconds and 5 git commands to generate.