diff options
author | Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> | 2014-06-26 09:40:00 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-07-09 09:58:13 -0400 |
commit | 932861748053a25848010aecbb15f23f455517b1 (patch) | |
tree | 4ad2016c529750af9c85670f73f1e5a9d3bd4c69 /drivers/mfd/ab8500-debugfs.c | |
parent | b7cde7078d2344073c310aa65fc2b0a845d2cb5b (diff) |
mfd: ab8500-debugfs.c: Cleaning up values that are never used
Remove variable that are never used
This was found using a static code analysis program called cppcheck.
Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/ab8500-debugfs.c')
-rw-r--r-- | drivers/mfd/ab8500-debugfs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mfd/ab8500-debugfs.c b/drivers/mfd/ab8500-debugfs.c index d1a22aae2df5..d514e3646f2a 100644 --- a/drivers/mfd/ab8500-debugfs.c +++ b/drivers/mfd/ab8500-debugfs.c | |||
@@ -1350,12 +1350,11 @@ static int ab8500_print_all_banks(struct seq_file *s, void *p) | |||
1350 | { | 1350 | { |
1351 | struct device *dev = s->private; | 1351 | struct device *dev = s->private; |
1352 | unsigned int i; | 1352 | unsigned int i; |
1353 | int err; | ||
1354 | 1353 | ||
1355 | seq_printf(s, AB8500_NAME_STRING " register values:\n"); | 1354 | seq_printf(s, AB8500_NAME_STRING " register values:\n"); |
1356 | 1355 | ||
1357 | for (i = 0; i < AB8500_NUM_BANKS; i++) { | 1356 | for (i = 0; i < AB8500_NUM_BANKS; i++) { |
1358 | err = seq_printf(s, " bank 0x%02X:\n", i); | 1357 | seq_printf(s, " bank 0x%02X:\n", i); |
1359 | 1358 | ||
1360 | ab8500_registers_print(dev, i, s); | 1359 | ab8500_registers_print(dev, i, s); |
1361 | } | 1360 | } |