Skip to contentSkip to conversation

Staging: removed trailing whitespace in dgnc

PATCH In review Yeliz Taneroglu 3 participants 3 messages Feb 21, 2015 – Feb 26, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: removed trailing whitespace in dgnc

Removed all trailing whitespace in
"drivers/staging/dgnc/dgnc_sysfs.c"

---
 drivers/staging/dgnc/dgnc_sysfs.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/staging/dgnc/dgnc_sysfs.c +2 -4
index 0d425ad..6c3b387 100644
@@ -125,9 +125,8 @@ void dgnc_create_driver_sysfiles(struct pci_driver *dgnc_driver)
 	rc |= driver_create_file(driverfs, &driver_attr_debug);
 	rc |= driver_create_file(driverfs, &driver_attr_rawreadok);
 	rc |= driver_create_file(driverfs, &driver_attr_pollrate);
-	if (rc) {
+	if (rc)
 		printk(KERN_ERR "DGNC: sysfs driver_create_file failed!\n");
-	}
 }
 
 
@@ -397,9 +396,8 @@ void dgnc_create_ports_sysfiles(struct dgnc_board *bd)
 	rc |= device_create_file(&(bd->pdev->dev), &dev_attr_ports_txcount);
 	rc |= device_create_file(&(bd->pdev->dev), &dev_attr_vpd);
 	rc |= device_create_file(&(bd->pdev->dev), &dev_attr_serial_number);
-	if (rc) {
+	if (rc)
 		printk(KERN_ERR "DGNC: sysfs device_create_file failed!\n");
-	}
 }
 
 
Signature · 1 line
1.8.3.2
#1 lore raw
Quoted 2 lines · Yeliz Taneroglu

Removed all trailing whitespace in
"drivers/staging/dgnc/dgnc_sysfs.c"

You removed braces. If that is all you did, you should change the subject and the commit message. It you removed the braces and removed trailing whitespace, then add about the braces in the commit message.

julia

Quoted 41 lines
---
 drivers/staging/dgnc/dgnc_sysfs.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/staging/dgnc/dgnc_sysfs.c +2 -4
index 0d425ad..6c3b387 100644
@@ -125,9 +125,8 @@ void dgnc_create_driver_sysfiles(struct pci_driver *dgnc_driver)
 	rc |= driver_create_file(driverfs, &driver_attr_debug);
 	rc |= driver_create_file(driverfs, &driver_attr_rawreadok);
 	rc |= driver_create_file(driverfs, &driver_attr_pollrate);
-	if (rc) {
+	if (rc)
 		printk(KERN_ERR "DGNC: sysfs driver_create_file failed!\n");
-	}
 }
 
 
@@ -397,9 +396,8 @@ void dgnc_create_ports_sysfiles(struct dgnc_board *bd)
 	rc |= device_create_file(&(bd->pdev->dev), &dev_attr_ports_txcount);
 	rc |= device_create_file(&(bd->pdev->dev), &dev_attr_vpd);
 	rc |= device_create_file(&(bd->pdev->dev), &dev_attr_serial_number);
-	if (rc) {
+	if (rc)
 		printk(KERN_ERR "DGNC: sysfs device_create_file failed!\n");
-	}
 }
 
 
Signature · 8 lines
1.8.3.2

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1424551997-5909-1-git-send-email-yeliztaneroglu%40gmail.com.
For more options, visit https://groups.google.com/d/optout.