Don't continue to query block-size if disk doesn't have it.

Stops poluting screen with a lot of "block-size: exception -21".
This commit is contained in:
Vladimir Serbinenko 2015-02-27 14:26:00 +01:00
parent 018f79da6f
commit 87ec3b7fa9
2 changed files with 44 additions and 21 deletions

View file

@ -22,7 +22,4 @@
extern void grub_ofdisk_init (void);
extern void grub_ofdisk_fini (void);
extern grub_err_t grub_ofdisk_get_block_size (const char *device,
grub_uint32_t *block_size);
#endif /* ! GRUB_INIT_HEADER */