* [PATCH v2 5/8] Input: synaptics-rmi4: Remove pointer to rmi_function in f12_data
@ 2016-06-25 0:19 ` Andrew Duggan
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Duggan @ 2016-06-25 0:19 UTC (permalink / raw)
To: linux-input, linux-kernel
Cc: Andrew Duggan, Dmitry Torokhov, Linus Walleij, Jiri Kosina,
Benjamin Tissoires, Vincent Huang, Nick Dyer
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 <aduggan@synaptics.com>
---
drivers/input/rmi4/rmi_f12.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/input/rmi4/rmi_f12.c b/drivers/input/rmi4/rmi_f12.c
index 041a91d..7d66766 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;
bool has_dribble;
--
2.5.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH v2 5/8] Input: synaptics-rmi4: Remove pointer to rmi_function in f12_data
@ 2016-06-25 0:19 ` Andrew Duggan
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Duggan @ 2016-06-25 0:19 UTC (permalink / raw)
To: linux-input, linux-kernel
Cc: Andrew Duggan, Dmitry Torokhov, Linus Walleij, Jiri Kosina,
Benjamin Tissoires, Vincent Huang, Nick Dyer
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 <aduggan@synaptics.com>
---
drivers/input/rmi4/rmi_f12.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/input/rmi4/rmi_f12.c b/drivers/input/rmi4/rmi_f12.c
index 041a91d..7d66766 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;
bool has_dribble;
--
2.5.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2 5/8] Input: synaptics-rmi4: Remove pointer to rmi_function in f12_data
2016-06-25 0:19 ` Andrew Duggan
(?)
@ 2016-07-05 10:19 ` Nick Dyer
-1 siblings, 0 replies; 3+ messages in thread
From: Nick Dyer @ 2016-07-05 10:19 UTC (permalink / raw)
To: Andrew Duggan, linux-input, linux-kernel
Cc: Dmitry Torokhov, Linus Walleij, Jiri Kosina, Benjamin Tissoires,
Vincent Huang
On 25/06/2016 01:19, Andrew Duggan wrote:
> 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 <aduggan@synaptics.com>
Reviewed-by: Nick Dyer <nick@shmanahar.org>
> ---
> drivers/input/rmi4/rmi_f12.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/input/rmi4/rmi_f12.c b/drivers/input/rmi4/rmi_f12.c
> index 041a91d..7d66766 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;
> bool has_dribble;
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-07-05 10:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-25 0:19 [PATCH v2 5/8] Input: synaptics-rmi4: Remove pointer to rmi_function in f12_data Andrew Duggan
2016-06-25 0:19 ` Andrew Duggan
2016-07-05 10:19 ` Nick Dyer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.