Skip to contentSkip to conversation

boston: Drop unused return value

PATCH New Paul Burton 2 participants 2 messages Sep 15, 2017 Arm/actions semi architecture

lore
Share & tools
lore
#0 lore raw

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.

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
index 0c01aa981d..46c9c1d269 100644
@@ -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
#1 lore raw

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.

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>