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

From: Wolfram Sang
Date: Fri May 25 2018 - 07:02:28 EST


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 <peda@xxxxxxxxxx>

Applied to for-next, thanks!

Reading that function, it also seems this driver wrongly sends a STOP
after every message of a transfer. And not just at the end of the
transfer :(

Attachment: signature.asc
Description: PGP signature