mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-01-04 15:30:14 +01:00
eis: remove now-unused macro
This commit is contained in:
parent
2157a9344e
commit
329db61bee
1 changed files with 0 additions and 8 deletions
|
|
@ -279,14 +279,6 @@ eis_client_setup_done(struct eis_client *client, const char *name, bool is_sende
|
|||
*/
|
||||
}
|
||||
|
||||
#define DISCONNECT_IF_RECEIVER_CONTEXT(client_) do { \
|
||||
if (!(client_)->is_sender) { \
|
||||
struct eis *_ctx = eis_client_get_context(client_); \
|
||||
log_bug_client(_ctx, "Invalid event from receiver ei context. Disconnecting client"); \
|
||||
return -EINVAL; \
|
||||
} \
|
||||
} while(0)
|
||||
|
||||
static struct brei_result *
|
||||
client_msg_disconnect(struct eis_connection *connection)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue