Remove declarations of unused local variables, an unused function
authorkrw <krw@openbsd.org>
Sat, 3 Jun 2023 21:37:53 +0000 (21:37 +0000)
committerkrw <krw@openbsd.org>
Sat, 3 Jun 2023 21:37:53 +0000 (21:37 +0000)
commit5655a256dbe5dc1bd6b61d3678a678d3d6925e55
tree7015ec732c76f49756f36c3138f47dc9d74fbb78
parent99463a0c5d9e72f9077728c1db7e5b93311a717d
Remove declarations of unused local variables, an unused function
(get_long) and add missing {} in devsw[1] initialization.

Most from 2011 NetBSD commit by tsutui.

No functional change.

Build tested and ok kn@
sys/arch/sparc64/stand/ofwboot/boot.c
sys/arch/sparc64/stand/ofwboot/elf64_exec.c
sys/arch/sparc64/stand/ofwboot/netif_of.c
sys/arch/sparc64/stand/ofwboot/ofdev.c
sys/arch/sparc64/stand/ofwboot/softraid_sparc64.c