Summary:
remove logically dead code.
execution cannot reach this statement.
Reviewers: cedric
Differential Revision: https://phab.enlightenment.org/D5876
Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
* here for any corner-cases */
/* _ecore_wl_input_cursor_update(input); */
- if (!surface) return;
if (!(win = ecore_wl_window_surface_find(surface))) return;
win->pointer_device = NULL;
input->display->serial = serial;
- if (!surface) return;
if (!(win = ecore_wl_window_surface_find(surface))) return;
win->keyboard_device = NULL;