소스 검색

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 18 년 전
부모
커밋
b023b43a83
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  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
 		fujitsu->brightness_changed = 0;
 
-	if (status < 0)
-		return status;
-
 	return fujitsu->brightness_level;
 }