boston: Drop unused return value
PATCH 1/1 boston: Drop unused return value
The boston lowlevel_init() function zeroes the return register v0, despite the function not being expected to return a value & that value never being used.
Remove the redundant assignment to v0.
Signed-off-by Paul Burton <[email protected]>
Cc Daniel Schwierzeck <[email protected]>
---
board/imgtec/boston/lowlevel_init.S | 1 - 1 file changed, 1 deletion(-)
board/imgtec/boston/lowlevel_init.S +0 -1
@@ -34,7 +34,6 @@ LEAF(lowlevel_init) PTR_LA a0, msg_ddr_ok bal lowlevel_display - move v0, zero jr s0 END(lowlevel_init)
Signature · 1 line
2.14.1
PATCH 1/1 boston: Drop unused return value
Am 15.09.2017 um 20:33 schrieb Paul Burton:
Quoted 4 lines
The boston
lowlevel_init()function zeroes the return register v0, despite the function not being expected to return a value & that value never being used.
Quoted 8 lines
Remove the redundant assignment to v0.
Signed-off-by Paul Burton <[email protected]>Cc Daniel Schwierzeck <[email protected]>---
board/imgtec/boston/lowlevel_init.S | 1 - 1 file changed, 1 deletion(-)
applied to u-boot-mips, thanks
Signature · 9 lines
- Daniel -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170915/ced55451/attachment.sig>