diff mbox

arm64: drop unnecessary newlines in show_regs()

Message ID 1490013775-22475-1-git-send-email-wangkefeng.wang@huawei.com (mailing list archive)
State New, archived
Headers show

Commit Message

Kefeng Wang March 20, 2017, 12:42 p.m. UTC
There are two unnecessary newlines, one is in show_regs, another
is in __show_regs(), drop them.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
---
 arch/arm64/kernel/process.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Catalin Marinas March 23, 2017, 2:21 p.m. UTC | #1
On Mon, Mar 20, 2017 at 08:42:55PM +0800, Kefeng Wang wrote:
> There are two unnecessary newlines, one is in show_regs, another
> is in __show_regs(), drop them.
> 
> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>

Queued for 4.12. Thanks.
diff mbox

Patch

diff --git a/arch/arm64/kernel/process.c b/arch/arm64/kernel/process.c
index 043d373..ae2a835 100644
--- a/arch/arm64/kernel/process.c
+++ b/arch/arm64/kernel/process.c
@@ -205,12 +205,10 @@  void __show_regs(struct pt_regs *regs)
 
 		pr_cont("\n");
 	}
-	printk("\n");
 }
 
 void show_regs(struct pt_regs * regs)
 {
-	printk("\n");
 	__show_regs(regs);
 }