Re: [PATCH 2/2] i2c: dln2: simplify return flow for dln2_i2c_enable

From: Wolfram Sang
Date: Thu Nov 13 2014 - 11:22:12 EST


On Tue, Nov 11, 2014 at 02:20:57PM +0200, Octavian Purdila wrote:
> This fixes the following kbuild test robot warning:
>
> >> drivers/i2c/busses/i2c-dln2.c:70:1-4: WARNING: end returns can be simplified if negative or 0 value
>
> Reported-by: kbuild test robot <fengguang.wu@xxxxxxxxx>
> Reported-by: Julia Lawall <julia.lawall@xxxxxxx>
>
> Signed-off-by: Octavian Purdila <octavian.purdila@xxxxxxxxx>

Acked-by: Wolfram Sang <wsa@xxxxxxxxxxxxx>

Lee, I think it is easiest if you simply add it to the branch you have
for this driver. OK?

Attachment: signature.asc
Description: Digital signature