[PATCH] staging: gs_fpgaboot: remove unnecessary return statements
Insop Song
insop.song at gainspeed.com
Thu Sep 4 20:48:22 UTC 2014
Okay, thank you.
Reviewed-by: Insop Song <insop.song at gainspeed.com>
On Thu, Sep 04, 2014 at 10:05:36PM +0200, Michał Bartoszkiewicz wrote:
> This fixes "void function return statements are not generally useful"
> warnings from checkpatch.pl.
>
> Signed-off-by: Michał Bartoszkiewicz <mbartoszkiewicz at gmail.com>
> ---
> 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 23c12f4..f5cd33b 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.1.0
>
More information about the devel
mailing list