aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2020-08-29 22:55:17 +0200
committerKenny Levinsen <kl@kl.wtf>2020-08-29 22:55:17 +0200
commit52fe75d5a404c390a1941b7f6cc3c18fb146ec3e (patch)
tree47ded7704671975295710f1c04373e19f3cdffbe
parent98506d2ba44fcf9e3beddc880810f0c99b5bb8cb (diff)
libseat: Remove pointless check
-rw-r--r--libseat/backend/seatd.c5
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;
}