diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2020-06-13 14:00:51 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2020-06-13 14:00:51 +0000 |
commit | 053f7f075451db0ef2ba0f3368dadac015e225f9 (patch) | |
tree | 3018e488cf83f9d0156513d9326d1e3b16d51420 /sys/arch/octeon | |
parent | b3a4ed4451f05d41907efe7cf6aaf1f55fa767cb (diff) |
Remove a dead store.
Diffstat (limited to 'sys/arch/octeon')
-rw-r--r-- | sys/arch/octeon/dev/octboot.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/octeon/dev/octboot.c b/sys/arch/octeon/dev/octboot.c index 22779986c27..a55d5e75a61 100644 --- a/sys/arch/octeon/dev/octboot.c +++ b/sys/arch/octeon/dev/octboot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: octboot.c,v 1.2 2020/05/26 13:21:58 visa Exp $ */ +/* $OpenBSD: octboot.c,v 1.3 2020/06/13 14:00:50 visa Exp $ */ /* * Copyright (c) 2019-2020 Visa Hankala @@ -236,7 +236,6 @@ octboot_kexec(struct octboot_kexec_args *kargs, struct proc *p) if (error != 0) goto fail; - off = roundup(sizeof(Elf_Ehdr) + shsize, sizeof(Elf_Addr)); off = maxp - elfp; for (i = 0; i < eh.e_shnum; i++) { if (sh[i].sh_type == SHT_STRTAB || |