[syslinux] [PATCH 09/28] com32/chain: remove unused ebr_start
Michal Soltys
soltys at ziu.info
Tue Jan 29 06:05:56 PST 2013
Signed-off-by: Michal Soltys <soltys at ziu.info>
---
com32/chain/partiter.c | 3 ---
com32/chain/partiter.h | 1 -
2 files changed, 4 deletions(-)
diff --git a/com32/chain/partiter.c b/com32/chain/partiter.c
index 2f6197a..2a14ef7 100644
--- a/com32/chain/partiter.c
+++ b/com32/chain/partiter.c
@@ -308,7 +308,6 @@ static int prep_base_ebr(struct part_iter *iter)
iter->dos.bebr_start = dp->start_lba;
iter->dos.bebr_size = dp->length;
- iter->dos.ebr_start = 0;
iter->dos.ebr_size = iter->dos.bebr_size;
iter->dos.cebr_lba = 0;
@@ -349,11 +348,9 @@ static int dos_next_ebr(struct part_iter *iter, uint32_t *lba,
/* setup next frame values */
if (dp[1].ostype) {
- iter->dos.ebr_start = dp[1].start_lba;
iter->dos.ebr_size = dp[1].length;
iter->dos.nebr_lba = iter->dos.bebr_start + dp[1].start_lba;
} else {
- iter->dos.ebr_start = 0;
iter->dos.ebr_size = 0;
iter->dos.nebr_lba = 0;
}
diff --git a/com32/chain/partiter.h b/com32/chain/partiter.h
index 18c3315..cf52833 100644
--- a/com32/chain/partiter.h
+++ b/com32/chain/partiter.h
@@ -79,7 +79,6 @@ struct part_iter {
uint32_t cebr_lba; /* absolute lba of curr ext. partition */
uint32_t nebr_lba; /* absolute lba of next ext. partition */
- uint32_t ebr_start; /* relative (to bebr) lba of next extended partition */
uint32_t ebr_size; /* size of next extended partition */
int bebr_index0; /* index of (0-3) of base ext. part., -1 if not present in MBR */
--
1.7.10.4
More information about the Syslinux
mailing list