summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Bartoszkiewicz <mbartoszkiewicz@gmail.com>2014-09-04 22:05:36 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-06 21:50:30 -0700
commitba660d25b59a68dbc44634a9844705c86ee6a893 (patch)
tree69fb5b8a968560d6b65d0abfbd2cb117a0bd1dda
parent9c8c8315144a8f14d3e5d2f6ad2d9104eed5c7d7 (diff)
downloadop-kernel-dev-ba660d25b59a68dbc44634a9844705c86ee6a893.zip
op-kernel-dev-ba660d25b59a68dbc44634a9844705c86ee6a893.tar.gz
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 <mbartoszkiewicz@gmail.com> Reviewed-by: Insop Song <insop.song@gainspeed.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/gs_fpgaboot/io.c6
1 files changed, 0 insertions, 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;
}
/*
OpenPOWER on IntegriCloud