iommu/amd: Remove double zero check
authorLibing Zhou <libing.zhou@nokia-sbell.com>
Wed, 22 Jul 2020 06:44:50 +0000 (14:44 +0800)
committerJoerg Roedel <jroedel@suse.de>
Wed, 22 Jul 2020 13:26:15 +0000 (15:26 +0200)
commit092550eacd040a349917a6bbe90ad543258e1695
tree8bc26fa05db5c962f4f3de74ff0a8c84b9c865bc
parent70fcd3592b05fde4d95938cd5a20e996b4ef4e15
iommu/amd: Remove double zero check

The free_pages() does zero check, therefore remove double zero
check here.

Signed-off-by: Libing Zhou <libing.zhou@nokia-sbell.com>
Link: https://lore.kernel.org/r/20200722064450.GA63618@hzling02.china.nsn-net.net
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd/init.c