Remove practice of assigning random const pointers to device id.
This is not required as cache code already checks driver id as well.
This commit is contained in:
parent
f009f07c95
commit
cc6fb517de
5 changed files with 10 additions and 4 deletions
|
@ -44,7 +44,7 @@ grub_procdev_open (const char *name, grub_disk_t disk)
|
|||
return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "not a procfs disk");
|
||||
|
||||
disk->total_sectors = 0;
|
||||
disk->id = (unsigned long) "proc";
|
||||
disk->id = 0;
|
||||
|
||||
disk->data = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue