diff --git a/cec/hdmi_cec.c b/cec/hdmi_cec.c index ee2c125..32386f3 100644 --- a/cec/hdmi_cec.c +++ b/cec/hdmi_cec.c @@ -471,9 +471,6 @@ static int hdmicec_close(struct hdmi_cec_device *dev) if (ctx->exit_fd > 0) close(ctx->exit_fd); free(ctx); - - ctx->cec_enabled = false; - ctx->cec_control_enabled = false; return 0; }