Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af336675 authored by Wolfram Sang's avatar Wolfram Sang
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;