summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJiri Kosina2008-08-19 02:13:55 +0200
committerIngo Molnar2008-08-19 02:16:24 +0200
commit8a7c5ef3ba8cca8f9c4f91ddef3d081f517914ae (patch)
treee3df64c8761f6c400a838d8d9a39e1fbc22e19f5 /arch
parentMerge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kern... (diff)
downloadkernel-qcow2-linux-8a7c5ef3ba8cca8f9c4f91ddef3d081f517914ae.tar.gz
kernel-qcow2-linux-8a7c5ef3ba8cca8f9c4f91ddef3d081f517914ae.tar.xz
kernel-qcow2-linux-8a7c5ef3ba8cca8f9c4f91ddef3d081f517914ae.zip
x86 iommu: remove unneeded parenthesis
The parenthesis in __iommu_queue_command() are not needed when assigning into 'target' variable. Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/amd_iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/amd_iommu.c b/arch/x86/kernel/amd_iommu.c
index de39e1f2ede5..69b4d060b21c 100644
--- a/arch/x86/kernel/amd_iommu.c
+++ b/arch/x86/kernel/amd_iommu.c
@@ -65,7 +65,7 @@ static int __iommu_queue_command(struct amd_iommu *iommu, struct iommu_cmd *cmd)
u8 *target;
tail = readl(iommu->mmio_base + MMIO_CMD_TAIL_OFFSET);
- target = (iommu->cmd_buf + tail);
+ target = iommu->cmd_buf + tail;
memcpy_toio(target, cmd, sizeof(*cmd));
tail = (tail + sizeof(*cmd)) % iommu->cmd_buf_size;
head = readl(iommu->mmio_base + MMIO_CMD_HEAD_OFFSET);