riscv: retire bzero

Unused since ba96f37758 ("Use __builtin for various mem* and b* (e.g. bzero)
routines.")

Reviewed by:	mhorne
Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Mateusz Guzik 2021-08-23 16:16:32 +00:00
parent e0545190ef
commit c69cc8d101

View File

@ -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;
}