partitions/efi.c: replace useless kzalloc's by kmalloc's
authorPhilippe De Muyter <phdm@macqel.be>
Mon, 29 Apr 2013 21:00:18 +0000 (23:00 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 30 Apr 2013 06:34:25 +0000 (08:34 +0200)
commitea56505bedd03e21f497c59cece15a62b4398fc4
treeb5313d5052f0bae246fda92f00f804319dd6022f
parent6f8f5c260af67fed49fe14efc3ad1f69654c260e
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 <phdm@macqel.be>
Cc: Matt Domsch <Matt_Domsch@dell.com>
Cc: Panagiotis Issaris <takis@issaris.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/partitions/efi.c