From ba660d25b59a68dbc44634a9844705c86ee6a893 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20Bartoszkiewicz?= Date: Thu, 4 Sep 2014 22:05:36 +0200 Subject: [PATCH] staging: gs_fpgaboot: remove unnecessary return statements MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- drivers/staging/gs_fpgaboot/io.c | 6 ------ 1 file changed, 6 deletions(-) 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; } /* -- 2.30.2