platform: x86: Deletion of checks before backlight_device_unregister()
[deliverable/linux.git] / drivers / platform / x86 / intel_oaktrail.c
index 4bc96041678573ec89eed8cf8c0e185f7e53d864..0dd72cfb4426ffa991d3c9890d1d9bdb5b41c112 100644 (file)
@@ -271,8 +271,7 @@ static int oaktrail_backlight_init(void)
 
 static void oaktrail_backlight_exit(void)
 {
-       if (oaktrail_bl_device)
-               backlight_device_unregister(oaktrail_bl_device);
+       backlight_device_unregister(oaktrail_bl_device);
 }
 
 static int oaktrail_probe(struct platform_device *pdev)
This page took 0.025892 seconds and 5 git commands to generate.