]> git.sur5r.net Git - u-boot/commitdiff
cfi_flash: Remove return from void function
authorMario Six <mario.six@gdsys.cc>
Fri, 26 Jan 2018 13:43:47 +0000 (14:43 +0100)
committerStefan Roese <sr@denx.de>
Mon, 29 Jan 2018 06:48:58 +0000 (07:48 +0100)
void functions don't need an explicit return at the end.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/cfi_flash.c

index 7aa379b0d856fbe384e0843dce67c33189342df2..d16357343fb4ad235ae0219f45f15a0f9d9b1956 100644 (file)
@@ -1280,7 +1280,6 @@ void flash_print_info(flash_info_t *info)
 #endif
        }
        putc('\n');
-       return;
 }
 
 /*-----------------------------------------------------------------------