aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi
diff options
context:
space:
mode:
authorPhilippe De Muyter <[email protected]>2013-04-29 23:00:18 +0200
committerJens Axboe <[email protected]>2013-04-30 08:34:25 +0200
commitea56505bedd03e21f497c59cece15a62b4398fc4 (patch)
treeb5313d5052f0bae246fda92f00f804319dd6022f /lib/mpi
parent6f8f5c260af67fed49fe14efc3ad1f69654c260e (diff)
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]>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions