mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-02 17:08:56 +00:00
Silence PVS-Studio warning (V595).
This commit is contained in:
parent
7054df7f5b
commit
8444599e1e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=295939
@ -616,10 +616,9 @@ acpi_video_vo_bind(struct acpi_video_output *vo, ACPI_HANDLE handle)
|
||||
/* XXX - see above. */
|
||||
vo->vo_economy = vo->vo_levels[BCL_ECONOMY];
|
||||
}
|
||||
}
|
||||
if (vo->vo_levels != NULL)
|
||||
AcpiInstallNotifyHandler(handle, ACPI_DEVICE_NOTIFY,
|
||||
acpi_video_vo_notify_handler, vo);
|
||||
}
|
||||
ACPI_SERIAL_END(video_output);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user