diff options
author | Philippe De Muyter <phdm@macqel.be> | 2013-04-29 23:00:18 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-04-30 08:34:25 +0200 |
commit | ea56505bedd03e21f497c59cece15a62b4398fc4 (patch) | |
tree | b5313d5052f0bae246fda92f00f804319dd6022f /drivers/scsi/dmx3191d.c | |
parent | fs/block_dev.c: fix iov_shorten() criteria in blkdev_aio_read() (diff) | |
download | linux-ea56505bedd03e21f497c59cece15a62b4398fc4.tar.xz linux-ea56505bedd03e21f497c59cece15a62b4398fc4.zip |
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>
Diffstat (limited to 'drivers/scsi/dmx3191d.c')
0 files changed, 0 insertions, 0 deletions