summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2013-11-12 21:52:03 +0100
committerJonas Ådahl <jadahl@gmail.com>2013-11-12 21:56:37 +0100
commitfdf50bc34bb150bc1cf04f37ad6d8bc1e708c7bb (patch)
treeafbb8b8bd230b0508599c7466292fab83b6abcd7
parent75f453df6a4c5f358f9bcb91a0cb8ab08593896e (diff)
filter: Remove unused variable
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
-rw-r--r--src/filter.c1
-rw-r--r--src/filter.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/filter.c b/src/filter.c
index a55ebf27..89237bf8 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 850ce8df..dad538b2 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 *