linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] input synaptics-rmi4 trivial: Eliminate unused local variable.
@ 2013-12-17  2:25 Christopher Heiny
  2013-12-18 16:52 ` Dmitry Torokhov
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Heiny @ 2013-12-17  2:25 UTC (permalink / raw)
  To: Dmitry Torokhov
  Cc: Linux Input, Christopher Heiny, Andrew Duggan, Vincent Huang,
	Vivian Ly, Daniel Rosenberg, Benjamin Tissoires

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

Signed-off-by: Christopher Heiny <cheiny@synaptics.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>

---

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(-)

diff --git a/drivers/input/rmi4/rmi_f11.c b/drivers/input/rmi4/rmi_f11.c
index d63ef31..c2be9de 100644
--- a/drivers/input/rmi4/rmi_f11.c
+++ b/drivers/input/rmi4/rmi_f11.c
@@ -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;

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] input synaptics-rmi4 trivial: Eliminate unused local variable.
  2013-12-17  2:25 [PATCH] input synaptics-rmi4 trivial: Eliminate unused local variable Christopher Heiny
@ 2013-12-18 16:52 ` Dmitry Torokhov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2013-12-18 16:52 UTC (permalink / raw)
  To: Christopher Heiny
  Cc: Linux Input, Andrew Duggan, Vincent Huang, Vivian Ly,
	Daniel Rosenberg, Benjamin Tissoires

On Mon, Dec 16, 2013 at 06:25:51PM -0800, Christopher Heiny wrote:
> One-line change to eliminate an unused local variable warning in rmi_f11.c.
> 
> Signed-off-by: Christopher Heiny <cheiny@synaptics.com>
> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
> Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>

Applied, thank you.

> 
> ---
> 
> 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(-)
> 
> diff --git a/drivers/input/rmi4/rmi_f11.c b/drivers/input/rmi4/rmi_f11.c
> index d63ef31..c2be9de 100644
> --- a/drivers/input/rmi4/rmi_f11.c
> +++ b/drivers/input/rmi4/rmi_f11.c
> @@ -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;

-- 
Dmitry

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-18 16:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-17  2:25 [PATCH] input synaptics-rmi4 trivial: Eliminate unused local variable Christopher Heiny
2013-12-18 16:52 ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).