* grub-core/kern/ieee1275/openfw.c (grub_ieee1275_parse_args): Extend

filename parsing to non-block devices.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-06-19 11:23:13 +02:00
parent 3e19bf879f
commit 970a0a09dd
2 changed files with 5 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2012-06-19 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/ieee1275/openfw.c (grub_ieee1275_parse_args): Extend
filename parsing to non-block devices.
2012-06-19 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/device.c (grub_device_open): Remove dead code.

View file

@ -354,9 +354,6 @@ grub_ieee1275_parse_args (const char *path, enum grub_ieee1275_parse_type ptype)
char *comma;
char *args;
if (grub_strcmp ("block", type) != 0)
goto unknown;
args = grub_ieee1275_get_devargs (path);
if (!args)
/* Shouldn't happen. */