i2c: hix5hd2: remove some dead code
authorPeter Rosin <peda@axentia.se>
Wed, 9 May 2018 19:46:03 +0000 (21:46 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 15 May 2018 08:43:38 +0000 (10:43 +0200)
commita5dab8698c70379baa35f23f7803a4c69aed0fc9
tree7a755b5d7b9591355f193c1828ecf2bf74da27c6
parent043056270b77cd63370923138d857afb3f96cdec
i2c: hix5hd2: remove some dead code

The else branch cannot be taken as i will always equal num.
Get rid of the whole construct.

Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-hix5hd2.c