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:
Vladimir Serbinenko 2013-12-16 14:49:11 +01:00
parent f009f07c95
commit cc6fb517de
5 changed files with 10 additions and 4 deletions

View file

@ -47,7 +47,7 @@ grub_memdisk_open (const char *name, grub_disk_t disk)
disk->total_sectors = memdisk_size / GRUB_DISK_SECTOR_SIZE;
disk->max_agglomerate = GRUB_DISK_MAX_MAX_AGGLOMERATE;
disk->id = (unsigned long) "mdsk";
disk->id = 0;
return GRUB_ERR_NONE;
}