[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180524201717.tyzatx7nvxwanb3f@ninjato>
Date: Thu, 24 May 2018 22:17:17 +0200
From: Wolfram Sang <wsa@...-dreams.de>
To: Peter Rosin <peda@...ntia.se>
Cc: linux-kernel@...r.kernel.org, linux-i2c@...r.kernel.org
Subject: Re: [PATCH 2/2] i2c: robotfuzz-osif: drop pointless test
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@...ntia.se>
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 :(
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists