i2c: robotfuzz-osif: drop pointless test
authorPeter Rosin <peda@axentia.se>
Wed, 9 May 2018 19:46:58 +0000 (21:46 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 24 May 2018 20:13:04 +0000 (22:13 +0200)
commit6a0c0d0d009e6c09700cf92dec0860ade1f56f4c
tree8a34aa5324f6228a062b76c4a4f0c6fa2ae8e150
parent7fb29b958dfff9c8eddfe4250aa0ed3614446c62
i2c: robotfuzz-osif: drop pointless test

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@axentia.se>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-robotfuzz-osif.c