commit | 1fb260bc003d7c6196fc0ee3a169a2f6495d17fe | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Jan 07 12:36:06 2016 +0300 |
committer | Joerg Roedel <jroedel@suse.de> | Thu Jan 07 13:08:07 2016 +0100 |
tree | 8d93faf7c91cd42fda93a90e92c73c884a4f2fe9 | |
parent | a639a8eecf2be962b5dcd38dedd8b6bd10c2354b [diff] |
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>