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 7aa379b..d163573 100644 (file)
@@ -1280,7 +1280,6 @@ void flash_print_info(flash_info_t *info)
 #endif
        }
        putc('\n');
-       return;
 }
 
 /*-----------------------------------------------------------------------