The branch main has been updated by mjg:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=c69cc8d10180e667dc7701f700e4975e627514ef

commit c69cc8d10180e667dc7701f700e4975e627514ef
Author:     Mateusz Guzik <[email protected]>
AuthorDate: 2021-08-23 16:16:32 +0000
Commit:     Mateusz Guzik <[email protected]>
CommitDate: 2021-08-23 18:38:05 +0000

    riscv: retire bzero
    
    Unused since ba96f37758412151 ("Use __builtin for various mem* and b* (e.g. 
bzero)
    routines.")
    
    Reviewed by:    mhorne
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sys/riscv/riscv/machdep.c | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/sys/riscv/riscv/machdep.c b/sys/riscv/riscv/machdep.c
index 841bfeda891e..b7fb142a59b4 100644
--- a/sys/riscv/riscv/machdep.c
+++ b/sys/riscv/riscv/machdep.c
@@ -979,14 +979,3 @@ initriscv(struct riscv_bootparams *rvbp)
 
        TSEXIT();
 }
-
-#undef bzero
-void
-bzero(void *buf, size_t len)
-{
-       uint8_t *p;
-
-       p = buf;
-       while(len-- > 0)
-               *p++ = 0;
-}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to