Skip to contentSkip to conversation

input synaptics-rmi4 trivial: Eliminate unused local variable.

PATCH Applied Christopher Heiny 2 participants 2 messages Dec 17, 2013 – Dec 18, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 input synaptics-rmi4 trivial: Eliminate unused local variable.

One-line change to eliminate an unused local variable warning in rmi_f11.c.

Cc Dmitry Torokhov <[email protected]>
Cc Benjamin Tissoires <[email protected]>

---

This patch implements changes to the synaptics-rmi4 branch of Dmitry's input tree. The base for the patch is commit e0c5aec5e6144ae8391d164e2dc659f8ef2b2ba7.

drivers/input/rmi4/rmi_f11.c | 1 -

 1 file changed, 1 deletion(-)
drivers/input/rmi4/rmi_f11.c +0 -1
index d63ef31..c2be9de 100644
@@ -1289,7 +1289,6 @@ static int rmi_f11_register_devices(struct rmi_function *fn)
 	struct f11_data *f11 = fn->data;
 	struct input_dev *input_dev;
 	struct input_dev *input_dev_mouse;
-	struct rmi_driver_data *driver_data = dev_get_drvdata(&rmi_dev->dev);
 	struct rmi_driver *driver = rmi_dev->driver;
 	struct f11_2d_sensor *sensor = &f11->sensor;
 	int rc;
maintainer Applied
#1 lore raw
Quoted 5 lines · Christopher Heiny

One-line change to eliminate an unused local variable warning in rmi_f11.c.

Cc Dmitry Torokhov <[email protected]>
Cc Benjamin Tissoires <[email protected]>

Applied, thank you.

Quoted 22 lines

---

This patch implements changes to the synaptics-rmi4 branch of Dmitry's input tree. The base for the patch is commit e0c5aec5e6144ae8391d164e2dc659f8ef2b2ba7.

drivers/input/rmi4/rmi_f11.c | 1 -

 1 file changed, 1 deletion(-)
drivers/input/rmi4/rmi_f11.c +0 -1
index d63ef31..c2be9de 100644
@@ -1289,7 +1289,6 @@ static int rmi_f11_register_devices(struct rmi_function *fn)
 	struct f11_data *f11 = fn->data;
 	struct input_dev *input_dev;
 	struct input_dev *input_dev_mouse;
-	struct rmi_driver_data *driver_data = dev_get_drvdata(&rmi_dev->dev);
 	struct rmi_driver *driver = rmi_dev->driver;
 	struct f11_2d_sensor *sensor = &f11->sensor;
 	int rc;
Signature · 1 line
Dmitry