types/wlr_input_device: remove wlr_input_device_destroy

This commit is contained in:
Simon Zeni 2022-03-02 16:48:57 -05:00 committed by Kirill Primak
parent 9d8dc026e5
commit 1bb2631c5c
3 changed files with 3 additions and 44 deletions

View file

@ -571,9 +571,6 @@ void destroy_wl_input_device(struct wlr_wl_input_device *dev) {
wlr_touch_finish(wlr_dev->touch);
free(wlr_dev->touch);
break;
default:
wlr_input_device_destroy(wlr_dev);
break;
}
}
wl_list_remove(&dev->link);