[PATCH weston 2/3] filter: Remove unused variable

Jonas Ådahl jadahl at gmail.com
Tue Nov 12 13:55:06 PST 2013


Signed-off-by: Jonas Ådahl <jadahl at gmail.com>
---
 src/filter.c | 1 -
 src/filter.h | 1 -
 2 files changed, 2 deletions(-)

diff --git a/src/filter.c b/src/filter.c
index a55ebf2..89237bf 100644
--- a/src/filter.c
+++ b/src/filter.c
@@ -323,7 +323,6 @@ create_pointer_accelator_filter(accel_profile_func_t profile)
 		return NULL;
 
 	filter->base.interface = &accelerator_interface;
-	wl_list_init(&filter->base.link);
 
 	filter->profile = profile;
 	filter->last_velocity = 0.0;
diff --git a/src/filter.h b/src/filter.h
index 850ce8d..dad538b 100644
--- a/src/filter.h
+++ b/src/filter.h
@@ -50,7 +50,6 @@ struct weston_motion_filter_interface {
 
 struct weston_motion_filter {
 	struct weston_motion_filter_interface *interface;
-	struct wl_list link;
 };
 
 WL_EXPORT struct weston_motion_filter *
-- 
1.8.1.2



More information about the wayland-devel mailing list