]> err.no Git - linux-2.6/commit
x86, AMD IOMMU: remove unneeded initializations from command buffer allocation
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 11 Jul 2008 15:14:29 +0000 (17:14 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 11 Jul 2008 16:01:14 +0000 (18:01 +0200)
commitd0312b2142ac7665031755c1cc3dba827d4eb711
tree9f2688df989b905c4972c19a167275acf31dcc3f
parentd64495366ff78fdbd5bd3176a7ada2f0c2cbfba6
x86, AMD IOMMU: remove unneeded initializations from command buffer allocation

This patch removes an unneeded initialization from the alloc_command_buffer
function and replaces a memset with __GFP_ZERO.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Cc: iommu@lists.linux-foundation.org
Cc: bhavna.sarathy@amd.com
Cc: robert.richter@amd.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/amd_iommu_init.c