i2c: mpc: Drop unused variable
Fix the following build error.
Error log:
drivers/i2c/busses/i2c-mpc.c: In function 'mpc_i2c_setup_512x':
drivers/i2c/busses/i2c-mpc.c:310:20: error: unused variable 'pval'
Fixes: 9d178e0058
("i2c: mpc: Use of_property_read_reg() to parse "reg"")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
This commit is contained in:
parent
05f933d5f7
commit
6537ed3904
|
@ -307,7 +307,6 @@ static void mpc_i2c_setup_512x(struct device_node *node,
|
|||
{
|
||||
struct device_node *node_ctrl;
|
||||
void __iomem *ctrl;
|
||||
const u32 *pval;
|
||||
u32 idx;
|
||||
|
||||
/* Enable I2C interrupts for mpc5121 */
|
||||
|
|
Loading…
Reference in New Issue