Re: [PATCH] i2c: hix5hd2: remove some dead code

2018-05-14 Thread Wolfram Sang
On Wed, May 09, 2018 at 09:46:03PM +0200, Peter Rosin wrote: > The else branch cannot be taken as i will always equal num. > Get rid of the whole construct. > > Signed-off-by: Peter Rosin Applied to for-next, thanks! signature.asc Description: PGP signature

[PATCH] i2c: hix5hd2: remove some dead code

2018-05-09 Thread Peter Rosin
The else branch cannot be taken as i will always equal num. Get rid of the whole construct. Signed-off-by: Peter Rosin --- drivers/i2c/busses/i2c-hix5hd2.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/i2c/busses/i2c-hix5hd2.c b/drivers/i2c/busses/i2c-h