Re: [PATCH 2/2] i2c: robotfuzz-osif: drop pointless test

2018-05-24 Thread Wolfram Sang
On Wed, May 09, 2018 at 09:46:58PM +0200, Peter Rosin wrote: > In the for-loop test, ret will be either 0 or 1. So, the > comparison is pointless. Drop it, and drop the initializer > which is then also pointless. > > Signed-off-by: Peter Rosin Applied to for-next, thanks! Reading that function,

[PATCH 2/2] i2c: robotfuzz-osif: drop pointless test

2018-05-09 Thread Peter Rosin
In the for-loop test, ret will be either 0 or 1. So, the comparison is pointless. Drop it, and drop the initializer which is then also pointless. Signed-off-by: Peter Rosin --- drivers/i2c/busses/i2c-robotfuzz-osif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers