aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/fujitsu-laptop.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-10-24 12:25:49 -0400
committerLen Brown <len.brown@intel.com>2007-10-25 17:43:46 -0400
commitb023b43a83d231d1f3d36ac9e3ce4831b5ec2e7b (patch)
tree2ccedbade478f453f14294be1fcb95976363d9bb /drivers/misc/fujitsu-laptop.c
parentb6f03ae6defb61bb4b8e7a8e4b9081a1dd1d3ef9 (diff)
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>
Diffstat (limited to 'drivers/misc/fujitsu-laptop.c')
-rw-r--r--drivers/misc/fujitsu-laptop.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/misc/fujitsu-laptop.c b/drivers/misc/fujitsu-laptop.c
index d686ba7f6f73..c8d62c268b11 100644
--- a/drivers/misc/fujitsu-laptop.c
+++ b/drivers/misc/fujitsu-laptop.c
@@ -122,9 +122,6 @@ static int get_lcd_level(void)
122 else 122 else
123 fujitsu->brightness_changed = 0; 123 fujitsu->brightness_changed = 0;
124 124
125 if (status < 0)
126 return status;
127
128 return fujitsu->brightness_level; 125 return fujitsu->brightness_level;
129} 126}
130 127