aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorOvidiu Panait <ovidiu.panait@windriver.com>2020-08-17 21:27:50 +0300
committerSimon Glass <sjg@chromium.org>2020-08-22 08:54:51 -0600
commit78237828a3b20d993670e1beeacb5089d40c5e53 (patch)
treeba2ceacde0a5b19e4a15b60ec4a4f96c9667aa9e /doc
parent02c102074ddc0721db881118db6ffdc2fbb05ebb (diff)
downloadu-boot-78237828a3b20d993670e1beeacb5089d40c5e53.zip
u-boot-78237828a3b20d993670e1beeacb5089d40c5e53.tar.gz
u-boot-78237828a3b20d993670e1beeacb5089d40c5e53.tar.bz2
board_f: Remove dead code from init_func_i2c
Since commit 69153988a6f4 ("i2c: Finish dropping use of CONFIG_I2C_HARD") init_func_i2c is wrapped only by "#if defined(CONFIG_SYS_I2C)". Because of this, the second ifdef within becomes pointless: #if defined(CONFIG_SYS_I2C) static int init_func_i2c(void) <snip> #ifdef CONFIG_SYS_I2C ... #else ... #endif <snip> } #endif Remove the dead #else preprocessor code. Fixes: 69153988a6f ("i2c: Finish dropping use of CONFIG_I2C_HARD") Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions