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:
parent
9e39bea9d3
commit
44452825fb
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue