Commit af336675 authored by Wolfram Sang's avatar Wolfram Sang

i2c: mpc: remove useless variable initialization

cppcheck rightfully says:

drivers/i2c/busses/i2c-mpc.c:329: style: Variable 'node' is reassigned a value before the old one has been used.
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent f6d29536
......@@ -322,7 +322,7 @@ static const struct mpc_i2c_divider mpc_i2c_dividers_8xxx[] = {
static u32 mpc_i2c_get_sec_cfg_8xxx(void)
{
struct device_node *node = NULL;
struct device_node *node;
u32 __iomem *reg;
u32 val = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment