Re: [PATCH] iommu: remove unnecessary code

2017-05-11 Thread David Woodhouse
On Wed, 2017-05-10 at 22:49 -0500, Gustavo A. R. Silva wrote: > did_old is an unsigned variable and, greater-than-or-equal-to-zero > comparison of an unsigned variable is always true. > > Addresses-Coverity-ID: 1398477 > Signed-off-by: Gustavo A. R. Silva So... why do

[PATCH] iommu: remove unnecessary code

2017-05-11 Thread Gustavo A. R. Silva
did_old is an unsigned variable and, greater-than-or-equal-to-zero comparison of an unsigned variable is always true. Addresses-Coverity-ID: 1398477 Signed-off-by: Gustavo A. R. Silva --- drivers/iommu/intel-iommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)