eis: remove now-unused macro

This commit is contained in:
Peter Hutterer 2023-03-01 12:29:41 +10:00
parent 2157a9344e
commit 329db61bee

View file

@ -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)
{