iommu/amd: Remove an unneeded condition
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 7 Jan 2016 09:36:06 +0000 (12:36 +0300)
committerJoerg Roedel <jroedel@suse.de>
Thu, 7 Jan 2016 12:08:07 +0000 (13:08 +0100)
commit1fb260bc003d7c6196fc0ee3a169a2f6495d17fe
tree8d93faf7c91cd42fda93a90e92c73c884a4f2fe9
parenta639a8eecf2be962b5dcd38dedd8b6bd10c2354b
iommu/amd: Remove an unneeded condition

get_device_id() returns an unsigned short device id.  It never fails and
it never returns a negative so we can remove this condition.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu.c