diff options
author | jkim <jkim@FreeBSD.org> | 2016-02-23 22:55:44 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2016-02-23 22:55:44 +0000 |
commit | 627a0c81301e10c57549fc4a9503f43279c7769e (patch) | |
tree | c4f83929d92278d166c645b481513a7cb3a51aee | |
parent | 17b02dde28003dcb4aa2bb9a4d5bbd8448465da4 (diff) | |
download | FreeBSD-src-627a0c81301e10c57549fc4a9503f43279c7769e.zip FreeBSD-src-627a0c81301e10c57549fc4a9503f43279c7769e.tar.gz |
Silence PVS-Studio warning (V595).
-rw-r--r-- | sys/dev/acpica/acpi_video.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/acpica/acpi_video.c b/sys/dev/acpica/acpi_video.c index 135f5bc..6360071 100644 --- a/sys/dev/acpica/acpi_video.c +++ b/sys/dev/acpica/acpi_video.c @@ -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); } |