Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
partitions/efi.c: replace useless kzalloc's by kmalloc's
In alloc_read_gpt_entries and alloc_read_gpt_header, the kzalloc'ated zones are either totally overwritten by the following read_lba call, or freed. As kmalloc is cheaper than kzalloc, use kmalloc. Signed-off-by: Philippe De Muyter <[email protected]> Cc: Matt Domsch <[email protected]> Cc: Panagiotis Issaris <[email protected]> Cc: Andrew Morton <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information