mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-28 20:37:27 +00:00
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: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
parent
f6d2953643
commit
af3366753f
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user