Skip to content

Commit ba660d2

Browse files
embegregkh
authored andcommitted
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>
1 parent 9c8c831 commit ba660d2

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

  • drivers/staging/gs_fpgaboot

‎drivers/staging/gs_fpgaboot/io.c‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -251,17 +251,14 @@ int xl_init_io(void)
251251

252252
void xl_program_b(int32_t i)
253253
{
254-
return;
255254
}
256255

257256
void xl_rdwr_b(int32_t i)
258257
{
259-
return;
260258
}
261259

262260
void xl_csi_b(int32_t i)
263261
{
264-
return;
265262
}
266263

267264
int xl_get_init_b(void)
@@ -276,17 +273,14 @@ int xl_get_done_b(void)
276273

277274
static inline void byte0_out(unsigned char data)
278275
{
279-
return;
280276
}
281277

282278
static inline void byte1_out(unsigned char data)
283279
{
284-
return;
285280
}
286281

287282
static inline void xl_cclk_b(int32_t i)
288283
{
289-
return;
290284
}
291285

292286
/*

0 commit comments

Comments
 (0)