weston-launch: Remove unused event source
vt_source is never added to an event loop in this launcher, but it's potentially removed. Let's just remove the variable entirely. Signed-off-by: Derek Foreman <derekf@osg.samsung.com> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
This commit is contained in:
parent
1ab9ca7e01
commit
fa41eec4f7
|
@ -96,7 +96,6 @@ struct launcher_weston_launch {
|
|||
struct wl_event_source *source;
|
||||
|
||||
int kb_mode, tty, drm_fd;
|
||||
struct wl_event_source *vt_source;
|
||||
};
|
||||
|
||||
static int
|
||||
|
@ -283,7 +282,6 @@ launcher_weston_launch_destroy(struct weston_launcher *launcher_base)
|
|||
wl_event_source_remove(launcher->source);
|
||||
} else {
|
||||
launcher_weston_launch_restore(&launcher->base);
|
||||
wl_event_source_remove(launcher->vt_source);
|
||||
}
|
||||
|
||||
if (launcher->tty >= 0)
|
||||
|
|
Loading…
Reference in New Issue