* grub-core/disk/efi/efidisk.c (grub_efidisk_readwrite): Remove unused

variable.
This commit is contained in:
Vladimir Serbinenko 2013-11-02 18:50:39 +01:00
parent 02663ee9d9
commit 203f53fbbe
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2013-11-02 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/disk/efi/efidisk.c (grub_efidisk_readwrite): Remove unused
variable.
2013-11-02 Vladimir Serbinenko <phcoder@gmail.com> 2013-11-02 Vladimir Serbinenko <phcoder@gmail.com>
* configure.ac (TARGET_CFLAGS): Add -march=i386 on i386. * configure.ac (TARGET_CFLAGS): Add -march=i386 on i386.

View file

@ -544,10 +544,8 @@ static grub_efi_status_t
grub_efidisk_readwrite (struct grub_disk *disk, grub_disk_addr_t sector, grub_efidisk_readwrite (struct grub_disk *disk, grub_disk_addr_t sector,
grub_size_t size, char *buf, int wr) grub_size_t size, char *buf, int wr)
{ {
/* For now, use the disk io interface rather than the block io's. */
struct grub_efidisk_data *d; struct grub_efidisk_data *d;
grub_efi_block_io_t *bio; grub_efi_block_io_t *bio;
grub_efi_status_t status;
d = disk->data; d = disk->data;
bio = d->block_io; bio = d->block_io;