Browse Source

fujitsu-laptop.c: remove dead code

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>
Adrian Bunk 17 years ago
parent
commit
b023b43a83
1 changed files with 0 additions and 3 deletions
  1. 0 3
      drivers/misc/fujitsu-laptop.c

+ 0 - 3
drivers/misc/fujitsu-laptop.c

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