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 committed 2015-03-03 20:50:37 +01:00
1 parent 018f79da6f
commit 87ec3b7fa9
2 files changed
+44 -21

No files matched your search

-3
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 */