All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: hp100: Remove unnecessary braces
@ 2020-03-22  0:34 Gokce Kuler
  2020-03-22  7:59 ` [Outreachy kernel] " Julia Lawall
  0 siblings, 1 reply; 2+ messages in thread
From: Gokce Kuler @ 2020-03-22  0:34 UTC (permalink / raw)
  To: outreachy-kernel; +Cc: gregkh

Remove unnecessary braces for single statement block

Signed-off-by: Gokce Kuler <gokcekuler@gmail.com>
---
 drivers/staging/hp/hp100.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/hp/hp100.c b/drivers/staging/hp/hp100.c
index 6041043..61b891d 100644
--- a/drivers/staging/hp/hp100.c
+++ b/drivers/staging/hp/hp100.c
@@ -2788,9 +2788,9 @@ void hp100_RegisterDump(struct net_device *dev)
 		outw(Page, ioaddr + 0x02);
 		for (Register = 0x8; Register < 0x22; Register += 2) {
 			/* Display Register contents except data port */
-			if (((Register != 0x10) && (Register != 0x12)) || (Page > 0)) {
+			if (((Register != 0x10) && (Register != 0x12)) || (Page > 0)) 
 				printk("0x%.2x = 0x%.4x\n", Register, inw(ioaddr + Register));
-			}
+			
 		}
 	}
 	hp100_page(PERFORMANCE);
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-22  7:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-22  0:34 [PATCH] staging: hp100: Remove unnecessary braces Gokce Kuler
2020-03-22  7:59 ` [Outreachy kernel] " Julia Lawall

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.