mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
* grub-core/fs/zfs/zfs.c (zap_iterate): Remove set but not used
variable.
This commit is contained in:
1 parent
ed64e9e279
commit
9f421dd1f0
2 files changed
+5
-2
No files matched your search
@@ -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>
|
2011-11-08 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
Support trampoline jumps on powerpc.
|
Support trampoline jumps on powerpc.
|
||||||
|
|||||||
@@ -2164,14 +2164,12 @@ zap_iterate (dnode_end_t * zap_dnode,
|
|||||||
struct grub_zfs_data *data)
|
struct grub_zfs_data *data)
|
||||||
{
|
{
|
||||||
grub_uint64_t block_type;
|
grub_uint64_t block_type;
|
||||||
int size;
|
|
||||||
void *zapbuf;
|
void *zapbuf;
|
||||||
grub_err_t err;
|
grub_err_t err;
|
||||||
int ret;
|
int ret;
|
||||||
grub_zfs_endian_t endian;
|
grub_zfs_endian_t endian;
|
||||||
|
|
||||||
/* Read in the first block of the zap object data. */
|
/* 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);
|
err = dmu_read (zap_dnode, 0, &zapbuf, &endian, data);
|
||||||
if (err)
|
if (err)
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in new issue
Block a user