summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/acpi/video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
index 86531ab..e7e9a693 100644
--- a/drivers/acpi/video.c
+++ b/drivers/acpi/video.c
@@ -1645,7 +1645,7 @@ static int acpi_video_bus_put_devices(struct acpi_video_bus *video)
printk(KERN_WARNING PREFIX
"hhuuhhuu bug in acpi video driver.\n");
- if (data->brightness);
+ if (data->brightness)
kfree(data->brightness->levels);
kfree(data->brightness);
kfree(data);
OpenPOWER on IntegriCloud