diff options
author | Michal Soltys <soltys@ziu.info> | 2013-02-14 16:51:45 +0100 |
---|---|---|
committer | Michal Soltys <soltys@ziu.info> | 2013-02-14 16:53:04 +0100 |
commit | 8d1edf6dd36d52e89109e13e1e538c4e28bfa737 (patch) | |
tree | 4c92812030e10ffc4cf1089a9916b2f4a5346c4e | |
parent | 029a72e33442ef929bfa82a47cf74fc16754a741 (diff) | |
download | syslinux-8d1edf6dd36d52e89109e13e1e538c4e28bfa737.tar.gz syslinux-8d1edf6dd36d52e89109e13e1e538c4e28bfa737.tar.xz syslinux-8d1edf6dd36d52e89109e13e1e538c4e28bfa737.zip |
com32/chain: remove unused ebr_start
Signed-off-by: Michal Soltys <soltys@ziu.info>
-rw-r--r-- | com32/chain/partiter.c | 3 | ||||
-rw-r--r-- | com32/chain/partiter.h | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/com32/chain/partiter.c b/com32/chain/partiter.c index 2f6197a2..2a14ef7a 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 18c33153..cf52833a 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 */ |