ivi-shell: clear unused struct members
I removed unused members of ivi_layout* data structs. Signed-off-by: Emre Ucan <eucan@de.adit-jv.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
parent
967b6bc637
commit
606f59261d
@ -57,14 +57,8 @@ struct ivi_layout_surface {
|
|||||||
|
|
||||||
struct {
|
struct {
|
||||||
struct ivi_layout_surface_properties prop;
|
struct ivi_layout_surface_properties prop;
|
||||||
struct wl_list link;
|
|
||||||
} pending;
|
} pending;
|
||||||
|
|
||||||
struct {
|
|
||||||
struct wl_list link;
|
|
||||||
struct wl_list layer_list;
|
|
||||||
} order;
|
|
||||||
|
|
||||||
struct wl_list view_list; /* ivi_layout_view::surf_link */
|
struct wl_list view_list; /* ivi_layout_view::surf_link */
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -113,7 +107,6 @@ struct ivi_layout {
|
|||||||
} surface_notification;
|
} surface_notification;
|
||||||
|
|
||||||
struct weston_layer layout_layer;
|
struct weston_layer layout_layer;
|
||||||
struct wl_signal warning_signal;
|
|
||||||
|
|
||||||
struct ivi_layout_transition_set *transitions;
|
struct ivi_layout_transition_set *transitions;
|
||||||
struct wl_list pending_transition_list;
|
struct wl_list pending_transition_list;
|
||||||
|
@ -83,13 +83,11 @@ struct ivi_layout_screen {
|
|||||||
|
|
||||||
struct {
|
struct {
|
||||||
struct wl_list layer_list;
|
struct wl_list layer_list;
|
||||||
struct wl_list link;
|
|
||||||
} pending;
|
} pending;
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
int dirty;
|
int dirty;
|
||||||
struct wl_list layer_list;
|
struct wl_list layer_list;
|
||||||
struct wl_list link;
|
|
||||||
} order;
|
} order;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -238,8 +236,6 @@ ivi_layout_surface_destroy(struct ivi_layout_surface *ivisurf)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
wl_list_remove(&ivisurf->pending.link);
|
|
||||||
wl_list_remove(&ivisurf->order.link);
|
|
||||||
wl_list_remove(&ivisurf->link);
|
wl_list_remove(&ivisurf->link);
|
||||||
|
|
||||||
wl_list_for_each_safe(ivi_view, next, &ivisurf->view_list, surf_link) {
|
wl_list_for_each_safe(ivi_view, next, &ivisurf->view_list, surf_link) {
|
||||||
@ -276,10 +272,8 @@ create_screen(struct weston_compositor *ec)
|
|||||||
iviscrn->output = output;
|
iviscrn->output = output;
|
||||||
|
|
||||||
wl_list_init(&iviscrn->pending.layer_list);
|
wl_list_init(&iviscrn->pending.layer_list);
|
||||||
wl_list_init(&iviscrn->pending.link);
|
|
||||||
|
|
||||||
wl_list_init(&iviscrn->order.layer_list);
|
wl_list_init(&iviscrn->order.layer_list);
|
||||||
wl_list_init(&iviscrn->order.link);
|
|
||||||
|
|
||||||
wl_list_insert(&layout->screen_list, &iviscrn->link);
|
wl_list_insert(&layout->screen_list, &iviscrn->link);
|
||||||
}
|
}
|
||||||
@ -1995,10 +1989,6 @@ ivi_layout_surface_create(struct weston_surface *wl_surface,
|
|||||||
init_surface_properties(&ivisurf->prop);
|
init_surface_properties(&ivisurf->prop);
|
||||||
|
|
||||||
ivisurf->pending.prop = ivisurf->prop;
|
ivisurf->pending.prop = ivisurf->prop;
|
||||||
wl_list_init(&ivisurf->pending.link);
|
|
||||||
|
|
||||||
wl_list_init(&ivisurf->order.link);
|
|
||||||
wl_list_init(&ivisurf->order.layer_list);
|
|
||||||
|
|
||||||
wl_list_init(&ivisurf->view_list);
|
wl_list_init(&ivisurf->view_list);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user