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

Commit 5ec25c93 authored by Jean Delvare's avatar Jean Delvare
Browse files

hwmon: (lm63) Avoid initializing the same field twice



data is kzalloc'd, so data->valid is already 0.

Signed-off-by: default avatarJean Delvare <jdelvare@suse.de>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent e19eea84
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1121,7 +1121,6 @@ static int lm63_probe(struct i2c_client *client,
		return -ENOMEM;

	data->client = client;
	data->valid = 0;
	mutex_init(&data->update_lock);

	/* Set the device type */