intel-virtual-output: Remove one redundant cleanup on error
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
a8b0ba0ed5
commit
901d889dd7
|
|
@ -3260,10 +3260,8 @@ int main(int argc, char **argv)
|
|||
}
|
||||
|
||||
ret = display_init_damage(ctx.display);
|
||||
if (ret) {
|
||||
context_cleanup(&ctx);
|
||||
if (ret)
|
||||
goto out;
|
||||
}
|
||||
|
||||
if ((ctx.display->rr_event | ctx.display->rr_error) == 0) {
|
||||
fprintf(stderr, "RandR extension not supported by %s\n", DisplayString(ctx.display->dpy));
|
||||
|
|
|
|||
Loading…
Reference in New Issue