diff options
author | Andrew Duggan <[email protected]> | 2016-07-14 09:37:11 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2016-07-14 09:43:42 -0700 |
commit | e21582956005bb1677b0c2f9caf1042020f45408 (patch) | |
tree | 73bc2cb087f9b3600ec1e93b0e8a30a861b5b0ae | |
parent | 946c8432aab03feba14104aebcb3037636297eee (diff) |
Input: synaptics-rmi4 - remove pointer to rmi_function in f12_data
The pointer to struct rmi_function in f12_data is never set and was never
used. The fn pointer is also stored in rmi_2d_sensor which is a member of
f12_data.
Signed-off-by: Andrew Duggan <[email protected]>
Reviewed-by: Benjamin Tissoires <[email protected]>
Reviewed-by: Nick Dyer <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
-rw-r--r-- | drivers/input/rmi4/rmi_f12.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/rmi4/rmi_f12.c b/drivers/input/rmi4/rmi_f12.c index 8dd3fb5e1f94..123f2b495673 100644 --- a/drivers/input/rmi4/rmi_f12.c +++ b/drivers/input/rmi4/rmi_f12.c @@ -27,7 +27,6 @@ enum rmi_f12_object_type { }; struct f12_data { - struct rmi_function *fn; struct rmi_2d_sensor sensor; struct rmi_2d_sensor_platform_data sensor_pdata; |