[U-Boot] [PATCH v3 17/26] cfi_flash: Remove return from void function

Mario Six mario.six at gdsys.cc
Fri Jan 26 13:43:47 UTC 2018


void functions don't need an explicit return at the end.

Signed-off-by: Mario Six <mario.six at gdsys.cc>
---

v2 -> v3:
* Added proper commit message

v1 -> v2:
None

---
 drivers/mtd/cfi_flash.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index 7aa379b0d8..d16357343f 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers/mtd/cfi_flash.c
@@ -1280,7 +1280,6 @@ void flash_print_info(flash_info_t *info)
 #endif
 	}
 	putc('\n');
-	return;
 }

 /*-----------------------------------------------------------------------
--
2.11.0



More information about the U-Boot mailing list