From: Philippe De Muyter Date: Mon, 29 Apr 2013 21:00:18 +0000 (+0200) Subject: partitions/efi.c: replace useless kzalloc's by kmalloc's X-Git-Tag: omap-for-v3.10/fixes-for-merge-window-part2~11^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea56505bedd03e21f497c59cece15a62b4398fc4;p=pandora-kernel.git 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 Cc: Matt Domsch Cc: Panagiotis Issaris Cc: Andrew Morton Signed-off-by: Jens Axboe --- Reading git-diff-tree failed