]> git.karo-electronics.de Git - linux-beck.git/commit
iommu/amd: Remove duplicate checking code
authorVaughan Cao <vaughan.cao@oracle.com>
Fri, 16 May 2014 07:39:40 +0000 (15:39 +0800)
committerJoerg Roedel <jroedel@suse.de>
Mon, 26 May 2014 09:38:16 +0000 (11:38 +0200)
commitecef115d4540e3ef73551a21fb0622270a825110
tree7dddb3a43c5e09b334d71084d187a2248bcd93f4
parente79df31c60ea79954e854616da233e1b8c6475ab
iommu/amd: Remove duplicate checking code

amd_iommu_rlookup_table[devid] != NULL is already guaranteed
by check_device called before, it's fine to attach device at
this point.

Signed-off-by: Vaughan Cao <vaughan.cao@oracle.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu.c