Skip to contentSkip to conversation

fix multiple blank lines coding style problem

PATCH Superseded Aliza Minkov 2 participants 2 messages May 25, 2017 Staging

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix multiple blank lines coding style problem

According to the coding-style documentation, functions in source files should be separated with one blank line. Redundant blank lines were removed from this source file, in accordance with coding-style documentation.

---
 drivers/staging/dgnc/dgnc_driver.c | 2 --
 1 file changed, 2 deletions(-)
drivers/staging/dgnc/dgnc_driver.c +0 -2
index 253f38b..c1b6079 100644
@@ -96,7 +96,6 @@ static int dgnc_do_remap(struct dgnc_board *brd)
 	return 0;
 }
 
-
 /* A board has been found, initialize  it. */
 static struct dgnc_board *dgnc_found_board(struct pci_dev *pdev, int id)
 {
@@ -287,7 +286,6 @@ static void dgnc_free_irq(struct dgnc_board *brd)
 		free_irq(brd->irq, brd);
 }
 
-
  /*
   * As each timer expires, it determines (a) whether the "transmit"
   * waiter needs to be woken up, and (b) whether the poller needs to
Signature · 1 line
1.9.1
maintainer
#1 lore raw
Quoted 9 lines · Aliza Minkov

According to the coding-style documentation, functions in source files should be separated with one blank line. Redundant blank lines were removed from this source file, in accordance with coding-style documentation.

---
 drivers/staging/dgnc/dgnc_driver.c | 2 --
 1 file changed, 2 deletions(-)

Getting closer, please look at your subject, and compare it to the subjects that other patches for this driver/file have had in the past, and fix it up that way.

Also, you need to now start versioning your patch, as you are submitting the same one multiple times, SubmittingPatches will tell you how to properly do that.

thanks,

greg k-h