projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cec0a1
)
cfi_flash: Remove return from void function
author
Mario Six
<mario.six@gdsys.cc>
Fri, 26 Jan 2018 13:43:47 +0000
(14:43 +0100)
committer
Stefan 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
patch
|
blob
|
history
diff --git
a/drivers/mtd/cfi_flash.c
b/drivers/mtd/cfi_flash.c
index 7aa379b0d856fbe384e0843dce67c33189342df2..d16357343fb4ad235ae0219f45f15a0f9d9b1956 100644
(file)
--- 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;
}
/*-----------------------------------------------------------------------