Re: [PATCH] scsi: dpt_i2o: Remove always false 'chan < 0' statement

From: Martin K. Petersen
Date: Wed Apr 29 2020 - 22:18:25 EST


On Wed, 29 Apr 2020 20:10:18 +0800, Xiongfeng Wang wrote:

> The channel index is represented by an unsigned variable 'u32 chan'. We
> don't need to check whether it is less than zero. The following
> statement is always false and let's remove it.
> 'chan < 0'

Applied to 5.8/scsi-queue, thanks!

[1/1] scsi: dpt_i2o: Remove always false 'chan < 0' statement
https://git.kernel.org/mkp/scsi/c/6f41f08c88c5

--
Martin K. Petersen Oracle Linux Engineering