diff options
author | Kenny Levinsen <kl@kl.wtf> | 2020-08-29 22:55:17 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2020-08-29 22:55:17 +0200 |
commit | 52fe75d5a404c390a1941b7f6cc3c18fb146ec3e (patch) | |
tree | 47ded7704671975295710f1c04373e19f3cdffbe /libseat/backend | |
parent | 98506d2ba44fcf9e3beddc880810f0c99b5bb8cb (diff) |
libseat: Remove pointless check
Diffstat (limited to 'libseat/backend')
-rw-r--r-- | libseat/backend/seatd.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libseat/backend/seatd.c b/libseat/backend/seatd.c index 9172d65..5bb478e 100644 --- a/libseat/backend/seatd.c +++ b/libseat/backend/seatd.c @@ -489,11 +489,6 @@ static int close_device(struct libseat *base, int device_id) { conn_get(backend, &rmsg, sizeof rmsg) == -1) { return -1; } - if (rmsg.device_id != device_id) { - log_errorf("Unexpected response: expected device close for %d, got device close for %d", - rmsg.device_id, device_id); - return -1; - } return 0; } |