Remove hw_serial, ddi_strtoul()

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13434
This commit is contained in:
наб
2022-05-07 19:18:41 +02:00
committed by Brian Behlendorf
parent 0c11a2738d
commit c25b281378
8 changed files with 9 additions and 47 deletions
-4
View File
@@ -43,15 +43,11 @@ static struct opensolaris_utsname hw_utsname = {
.machine = MACHINE
};
#ifndef KERNEL_STATIC
char hw_serial[11] = "0";
utsname_t *
utsname(void)
{
return (&hw_utsname);
}
#endif
static void
opensolaris_utsname_init(void *arg)