sparc32: cleanup mm/fault_32.c
PATCH 1/1 sparc32: cleanup mm/fault_32.c
From 08f1ed3b3fdf4d25068c457fcf249413f2235f97 Mon Sep 17 00:00:00 2001
From: Sam Ravnborg <[email protected]>
Date: Tue, 15 May 2012 19:02:08 +0200
Subject: [PATCH] sparc32: cleanup mm/fault_32.c
- remove unused variables
- fix coding style issues that hurts my eyes
---
Noticed a few unused variables and then an "if(" and then... I actually ran checkpatch on the file too - but ignored most of the complaints.
Sam
arch/sparc/include/asm/pgtable_32.h | 2 - arch/sparc/mm/fault_32.c | 94 ++++++++++++++++------------------ 2 files changed, 44 insertions(+), 52 deletions(-)
arch/sparc/include/asm/pgtable_32.h +0 -2
@@ -361,8 +361,6 @@ void srmmu_mapiorange(unsigned int bus, unsigned long xpa, unsigned long xva, unsigned int len);void srmmu_unmapiorange (unsigned long virt_addr,unsigned int len); -extern int invalid_segment; -/* Encode and de-code a swap entry */ static inline unsigned long __swp_type (swp_entry_t entry) {
arch/sparc/mm/fault_32.c +44 -50
244 lines not on this page · raw message
Signature · 1 line
1.6.0.6
From: Sam Ravnborg <[email protected]>
Date: Tue, 15 May 2012 19:04:34 +0200
Quoted 9 lines
Quoted 1 line
From
08f1ed3b3fdf4d25068c457fcf249413f2235f97Mon Sep 17 00:00:00 2001From: Sam Ravnborg <[email protected]>
Date: Tue, 15 May 2012 19:02:08 +0200
Subject: [PATCH] sparc32: cleanupmm/fault_32.c- remove unused variables
- fix coding style issues that hurts my eyesSigned-off-by Sam Ravnborg <[email protected]>
Applied, thanks Sam.
Quoted 3 lines
Noticed a few unused variables and then an "if(" and then... I actually ran checkpatch on the file too - but ignored most of the complaints.
You'll have to excuse me, as I wrote most of this code before I actually knew how to program :-)