]> Git Repo - linux.git/commitdiff
mfd: ab8500-debugfs: Remove extraneous seq_putc
authorLinus Torvalds <[email protected]>
Sat, 26 Dec 2020 17:19:49 +0000 (09:19 -0800)
committerLinus Torvalds <[email protected]>
Sat, 26 Dec 2020 17:19:49 +0000 (09:19 -0800)
Commit c9a3c4e637ac ("mfd: ab8500-debugfs: Remove extraneous curly
brace") removed a left-over curly brace that caused build failures, but
Joe Perches points out that the subsequent 'seq_putc()' should also be
removed, because the commit that caused all these problems already added
the final '\n' to the seq_printf() above it.

Reported-by: Joe Perches <[email protected]>
Fixes: 886c8121659d ("mfd: ab8500-debugfs: Remove the racy fiddling with irq_desc")
Cc: Thomas Gleixner <[email protected]>
Cc: Nathan Chancellor <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/mfd/ab8500-debugfs.c

index 1cf84562351e4ad2e603aac39c115ab2ac644976..e43dea89b0947a8b91430a818d19de43d6fe1240 100644 (file)
@@ -1521,7 +1521,6 @@ static int ab8500_interrupts_show(struct seq_file *s, void *p)
                           line + irq_first,
                           num_interrupts[line],
                           num_wake_interrupts[line]);
-               seq_putc(s, '\n');
        }
 
        return 0;
This page took 0.047982 seconds and 4 git commands to generate.