From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Heiny Subject: [PATCH] input synaptics-rmi4 trivial: Eliminate unused local variable. Date: Mon, 16 Dec 2013 18:25:51 -0800 Message-ID: <1387247151-21131-1-git-send-email-cheiny@synaptics.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from us-mx2.synaptics.com ([192.147.44.131]:65140 "EHLO us-mx2.synaptics.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752510Ab3LQCZz (ORCPT ); Mon, 16 Dec 2013 21:25:55 -0500 Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org 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 Cc: Dmitry Torokhov Cc: Benjamin Tissoires --- 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;