diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2022-09-02 12:28:13 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2022-09-02 12:28:13 +0000 |
commit | 578dfd2d582d8b1584577a99b90db48248b2400a (patch) | |
tree | 07562139c55d7b637ba04a4c6383f858da092920 | |
parent | 4ebe45050a098312999db92d2b1cdabf4ab5341e (diff) |
Nuke variable partlba that is set but not used.
-rw-r--r-- | sys/kern/subr_disk.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c index cac0b450026..5f06c010aec 100644 --- a/sys/kern/subr_disk.c +++ b/sys/kern/subr_disk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_disk.c,v 1.256 2022/09/02 12:24:26 krw Exp $ */ +/* $OpenBSD: subr_disk.c,v 1.257 2022/09/02 12:28:12 krw Exp $ */ /* $NetBSD: subr_disk.c,v 1.17 1996/03/16 23:17:08 christos Exp $ */ /* @@ -460,7 +460,6 @@ gpt_get_hdr(struct buf *bp, void (*strat)(struct buf *), struct disklabel *lp, { struct gpt_header ngh; int error; - uint64_t partlba; uint64_t lbaend, lbastart; uint32_t csum; uint32_t size, partsize; @@ -474,7 +473,6 @@ gpt_get_hdr(struct buf *bp, void (*strat)(struct buf *), struct disklabel *lp, size = letoh32(ngh.gh_size); partsize = letoh32(ngh.gh_part_size); - partlba = letoh64(ngh.gh_part_lba); lbaend = letoh64(ngh.gh_lba_end); lbastart = letoh64(ngh.gh_lba_start); |