Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b023b43a83d231d1f3d36ac9e3ce4831b5ec2e7b Commit: b023b43a83d231d1f3d36ac9e3ce4831b5ec2e7b Parent: b6f03ae6defb61bb4b8e7a8e4b9081a1dd1d3ef9 Author: Adrian Bunk <[EMAIL PROTECTED]> AuthorDate: Wed Oct 24 18:25:49 2007 +0200 Committer: Len Brown <[EMAIL PROTECTED]> CommitDate: Thu Oct 25 17:43:46 2007 -0400
fujitsu-laptop.c: remove dead code This patch removes dead code spotted by the Coverity checker. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Jonathan Woithe <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/misc/fujitsu-laptop.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/drivers/misc/fujitsu-laptop.c b/drivers/misc/fujitsu-laptop.c index d686ba7..c8d62c2 100644 --- a/drivers/misc/fujitsu-laptop.c +++ b/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; } - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html