Re: [PATCH][next] iio: pressure: rohm-bm1390: Remove redundant if statement

From: Matti Vaittinen
Date: Fri Oct 11 2024 - 05:38:40 EST


On 10/10/2024 20:08, Colin Ian King wrote:
From: Colin Ian King <colin.i.king@xxxxxxxxx>

There is a check on non-zero ret that is redundant because the
same check is being performed in a previous if statement and
also before that. The check is not required, remove it.

Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx>

Reviewed-by: Matti Vaittinen <mazziesaccount@xxxxxxxxx>

Thanks!