fujitsu-laptop.c: remove dead code
authorAdrian Bunk <bunk@kernel.org>
Wed, 24 Oct 2007 16:25:49 +0000 (18:25 +0200)
committerLen Brown <len.brown@intel.com>
Thu, 25 Oct 2007 21:43:46 +0000 (17:43 -0400)
This patch removes dead code spotted by the Coverity checker.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jonathan Woithe <jwoithe@physics.adelaide.edu.au>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/misc/fujitsu-laptop.c

index d686ba7f6f73dd891b978bebe93f74bd11331263..c8d62c268b11729dd2916105d26a8105fd01c905 100644 (file)
@@ -122,9 +122,6 @@ static int get_lcd_level(void)
        else
                fujitsu->brightness_changed = 0;
 
-       if (status < 0)
-               return status;
-
        return fujitsu->brightness_level;
 }