Skip to content

Commit

Permalink
fujitsu-laptop.c: remove dead code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Len Brown committed Oct 25, 2007
1 parent b6f03ae commit b023b43
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/misc/fujitsu-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,6 @@ static int get_lcd_level(void)
else
fujitsu->brightness_changed = 0;

if (status < 0)
return status;

return fujitsu->brightness_level;
}

Expand Down

0 comments on commit b023b43

Please sign in to comment.