Input: synaptics-rmi4: Remove pointer to rmi_function in f12_data
Subsystems (2)
PATCH 5/7 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]>
--- drivers/input/rmi4/rmi_f12.c | 1 - 1 file changed, 1 deletion(-)
drivers/input/rmi4/rmi_f12.c +0 -1
@@ -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;
Signature · 1 line
2.5.0
Quoted 6 lines · Andrew Duggan
The pointer to struct
rmi_functioninf12_datais never set and was never used. The fn pointer is also stored inrmi_2d_sensorwhich is a member off12_data.Signed-off-by Andrew Duggan <[email protected]>---
If it compiles, you are OK :)
Reviewed-by Benjamin Tissoires <[email protected]>
Cheers,
Benjamin
Quoted 18 lines
drivers/input/rmi4/rmi_f12.c | 1 - 1 file changed, 1 deletion(-)drivers/input/rmi4/rmi_f12.c +0
-1@@ -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;Signature · 1 line
2.5.0