From df673b140dfc875d0978e884202e2e45a577144c Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 6 Feb 2023 18:20:16 +1000 Subject: [PATCH] ei: remove now-unused function --- src/libei-seat.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/libei-seat.c b/src/libei-seat.c index 931dc37..1e9d65b 100644 --- a/src/libei-seat.c +++ b/src/libei-seat.c @@ -193,19 +193,6 @@ ei_seat_remove(struct ei_seat *seat) } } -struct ei_device * -ei_seat_find_device(struct ei_seat *seat, uint32_t deviceid) -{ - struct ei_device *device; - - list_for_each(device, &seat->devices, link) { - if (device->id == deviceid) - return device; - } - - return NULL; -} - _public_ bool ei_seat_has_capability(struct ei_seat *seat, enum ei_device_capability cap)