* grub-core/fs/zfs/zfs.c (zap_iterate): Remove set but not used
variable.
This commit is contained in:
parent
ed64e9e279
commit
9f421dd1f0
2 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-11-08 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/fs/zfs/zfs.c (zap_iterate): Remove set but not used
|
||||
variable.
|
||||
|
||||
2011-11-08 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Support trampoline jumps on powerpc.
|
||||
|
|
|
@ -2164,14 +2164,12 @@ zap_iterate (dnode_end_t * zap_dnode,
|
|||
struct grub_zfs_data *data)
|
||||
{
|
||||
grub_uint64_t block_type;
|
||||
int size;
|
||||
void *zapbuf;
|
||||
grub_err_t err;
|
||||
int ret;
|
||||
grub_zfs_endian_t endian;
|
||||
|
||||
/* Read in the first block of the zap object data. */
|
||||
size = grub_zfs_to_cpu16 (zap_dnode->dn.dn_datablkszsec, zap_dnode->endian) << SPA_MINBLOCKSHIFT;
|
||||
err = dmu_read (zap_dnode, 0, &zapbuf, &endian, data);
|
||||
if (err)
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue