* grub-core/disk/ldm.c (grub_util_get_ldm): Remove unused variables.

(grub_util_ldm_embed): Likewise.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-02-10 12:36:02 +01:00
parent 9a7428e638
commit 6fa679671e
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2012-02-10 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/disk/ldm.c (grub_util_get_ldm): Remove unused variables.
(grub_util_ldm_embed): Likewise.
2012-02-10 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-editenv.c (print_var): Rename name to varname to

View file

@ -832,7 +832,6 @@ grub_util_get_ldm (grub_disk_t disk, grub_disk_addr_t start)
struct grub_diskfilter_pv *pv = NULL;
struct grub_diskfilter_vg *vg = NULL;
struct grub_diskfilter_lv *res, *lv;
int i;
pv = grub_diskfilter_get_pv_from_disk (disk, &vg);
@ -927,7 +926,6 @@ grub_util_ldm_embed (struct grub_disk *disk, unsigned int *nsectors,
for (lv = vg->lvs; lv; lv = lv->next)
{
struct grub_diskfilter_lv *comp;
struct grub_ldm_partition *part;
if (!lv->visible || !lv->fullname)
continue;