From: Michał Bartoszkiewicz Date: Thu, 4 Sep 2014 20:05:36 +0000 (+0200) Subject: staging: gs_fpgaboot: remove unnecessary return statements X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ba660d25b59a68dbc44634a9844705c86ee6a893;p=openwrt%2Fstaging%2Fblogic.git staging: gs_fpgaboot: remove unnecessary return statements This fixes "void function return statements are not generally useful" warnings from checkpatch.pl. Signed-off-by: Michał Bartoszkiewicz Reviewed-by: Insop Song Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/gs_fpgaboot/io.c b/drivers/staging/gs_fpgaboot/io.c index 23c12f47c8f1..f5cd33b7c52a 100644 --- a/drivers/staging/gs_fpgaboot/io.c +++ b/drivers/staging/gs_fpgaboot/io.c @@ -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; } /*