Revert "quirks: add more assertion to avoid API misusage"

Ooops, this clearly didn't get tested and now aborts libinput list-quirks

Fixes https://gitlab.freedesktop.org/libinput/libinput/issues/47

This reverts commit 2c4f963b18.
This commit is contained in:
Peter Hutterer 2018-06-18 20:55:03 +10:00
parent 7266ed600a
commit 14b7bb4726

View file

@ -1001,9 +1001,6 @@ quirks_init_subsystem(const char *data_path,
{
struct quirks_context *ctx = zalloc(sizeof *ctx);
assert(data_path);
assert(libinput);
ctx->refcount = 1;
ctx->log_handler = log_handler;
ctx->log_type = log_type;