2011-03-07 Szymon Janc <szymon@janc.net.pl>
* grub-core/fs/zfs/zfs.c (zap_leaf_lookup): Set-but-not-used variable removed.
This commit is contained in:
parent
028501a0e0
commit
57d75699d6
2 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-03-07 Szymon Janc <szymon@janc.net.pl>
|
||||
|
||||
* grub-core/fs/zfs/zfs.c (zap_leaf_lookup):
|
||||
Set-but-not-used variable removed.
|
||||
|
||||
2011-02-12 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Workaround yet another IEEE1275 bug.
|
||||
|
|
|
@ -837,14 +837,12 @@ zap_leaf_lookup (zap_leaf_phys_t * l, grub_zfs_endian_t endian,
|
|||
name))
|
||||
{
|
||||
struct zap_leaf_array *la;
|
||||
grub_uint8_t *ip;
|
||||
|
||||
if (le->le_int_size != 8 || le->le_value_length != 1)
|
||||
return grub_error (GRUB_ERR_BAD_FS, "invalid leaf chunk entry");
|
||||
|
||||
/* get the uint64_t property value */
|
||||
la = &ZAP_LEAF_CHUNK (l, blksft, le->le_value_chunk).l_array;
|
||||
ip = la->la_array;
|
||||
|
||||
*value = grub_be_to_cpu64 (la->la_array64);
|
||||
|
||||
|
|
Loading…
Reference in a new issue