Skip to contentSkip to conversation

staging: hp100: Remove unnecessary braces

PATCH In review Gokce Kuler 3 participants 3 messages Mar 22, 2020 – Mar 23, 2020 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 staging: hp100: Remove unnecessary braces

Delete unnecessary blank line.

---
 drivers/staging/hp/hp100.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/hp/hp100.c +1 -2
index 43607fb..32a9e29 100644
@@ -2792,8 +2792,7 @@ void hp100_RegisterDump(struct net_device *dev)
 			/* Display Register contents except data port */
 			if (((Register != 0x10) && (Register != 0x12)) || (Page > 0)) 
 				printk("0x%.2x = 0x%.4x\n", Register, inw(ioaddr + Register));
-			
-		}
+			}
 	}
 	hp100_page(PERFORMANCE);
 }
Signature · 1 line
2.7.4
maintainer
#1 lore raw
Quoted 1 line · Gokce Kuler

Delete unnecessary blank line.

This does not match your subject line :(

#2 lore raw
In reply to Gokce Kuler
Quoted 1 line · Gokce Kuler

Delete unnecessary blank line.

The subject line and the commit log don't match. No braces are removed, but one brace is moved to the right. It's not clear why.

julia

Quoted 28 lines
---
 drivers/staging/hp/hp100.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/hp/hp100.c +1 -3
index 43607fb..32a9e29 100644
@@ -2792,8 +2792,7 @@ void hp100_RegisterDump(struct net_device *dev)
 			/* Display Register contents except data port */
 			if (((Register != 0x10) && (Register != 0x12)) || (Page > 0))
 				printk("0x%.2x = 0x%.4x\n", Register, inw(ioaddr + Register));
-
-		}
+			}
 	}
 	hp100_page(PERFORMANCE);
 }
--

2.7.4

--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20200322235103.GA14205%40siyah2.