boston: Drop unused return value
authorPaul Burton <paul.burton@imgtec.com>
Fri, 15 Sep 2017 18:33:53 +0000 (11:33 -0700)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Tue, 28 Nov 2017 20:59:30 +0000 (21:59 +0100)
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 <paul.burton@imgtec.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
board/imgtec/boston/lowlevel_init.S

index 0c01aa981d2caa7b1742bf87fd44a298fc955607..46c9c1d269654ceea191554d1947ca9ecf4f8250 100644 (file)
@@ -34,7 +34,6 @@ LEAF(lowlevel_init)
        PTR_LA  a0, msg_ddr_ok
        bal     lowlevel_display
 
-       move    v0, zero
        jr      s0
        END(lowlevel_init)