sna: Remove bogus assert(output->randr_output)

During shutdown, we may get backlight uevents after removing the
randr_output.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2015-03-20 13:13:43 +00:00
parent 9e39bea9d3
commit 44452825fb
1 changed files with 0 additions and 2 deletions

View File

@ -530,8 +530,6 @@ sna_backlight_uevent(int fd, void *closure)
if (sna_output->dpms_mode != DPMSModeOn)
continue;
assert(output->randr_output);
val = backlight_get(&sna_output->backlight);
if (val < 0)
continue;