Update wayland_input.c

This commit is contained in:
Autechre 2020-08-31 19:27:37 +02:00 committed by GitHub
parent 71fbd8bdae
commit fe81f0ad4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -336,13 +336,7 @@ static int16_t input_wl_state(
return 0;
}
static void input_wl_free(void *data)
{
input_ctx_wayland_data_t *wl = (input_ctx_wayland_data_t*)data;
if (!wl)
return;
free(data);
}
static void input_wl_free(void *data) { }
bool input_wl_init(void *data, const char *joypad_name)
{