diff mbox series

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

Message ID 20180126134356.9393-17-mario.six@gdsys.cc
State Awaiting Upstream
Delegated to: Stefan Roese
Headers show
Series [U-Boot,v3,01/26] cfi_flash: Fix space between function name and parenthesis | expand

Commit Message

Mario Six Jan. 26, 2018, 1:43 p.m. UTC
void functions don't need an explicit return at the end.

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

v2 -> v3:
* Added proper commit message

v1 -> v2:
None

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

--
2.11.0
diff mbox series

Patch

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;
 }

 /*-----------------------------------------------------------------------