提交 af336675 编写于 作者: W 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: NWolfram Sang <wsa@the-dreams.de>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册