]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
iommu/dmar: Remove redundant ' != 0' when check return code
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 16 Mar 2017 14:23:54 +0000 (16:23 +0200)
committerJoerg Roedel <jroedel@suse.de>
Wed, 22 Mar 2017 14:42:17 +0000 (15:42 +0100)
commitf9808079aa7626d71215a71661dbed5c4ff101d2
tree85b34145fcd7eda737613987796ba39513fa8419
parent3f6db6591a2decad5f223a7dcfc01d2a3c15e187
iommu/dmar: Remove redundant ' != 0' when check return code

Usual pattern when we check for return code, which might be negative
errno, is either (ret) or (!ret).

Remove extra ' != 0' from condition.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/dmar.c