Эх сурвалжийг харах

staging: wlan-ng: remove unnecessary blank lines in prism2fw.c

This patch removes unnecessary blank lines in prism2fw.c file to
comply with the standard kernel coding style.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Sergio Paracuellos 8 жил өмнө
parent
commit
98c1a778de

+ 0 - 6
drivers/staging/wlan-ng/prism2fw.c

@@ -443,7 +443,6 @@ static int crcimage(struct imgchunk *fchunk, unsigned int nfchunks,
 		dest = fchunk[c].data + chunkoff;
 		dest = fchunk[c].data + chunkoff;
 		*dest = 0xde;
 		*dest = 0xde;
 		*(dest + 1) = 0xc0;
 		*(dest + 1) = 0xc0;
-
 	}
 	}
 	return result;
 	return result;
 }
 }
@@ -469,7 +468,6 @@ static void free_chunks(struct imgchunk *fchunk, unsigned int *nfchunks)
 
 
 	*nfchunks = 0;
 	*nfchunks = 0;
 	memset(fchunk, 0, sizeof(*fchunk));
 	memset(fchunk, 0, sizeof(*fchunk));
-
 }
 }
 
 
 /*----------------------------------------------------------------
 /*----------------------------------------------------------------
@@ -645,7 +643,6 @@ static int mkpdrlist(struct pda *pda)
 
 
 		(pda->nrec)++;
 		(pda->nrec)++;
 		curroff += le16_to_cpu(pda16[curroff]) + 1;
 		curroff += le16_to_cpu(pda16[curroff]) + 1;
-
 	}
 	}
 	if (curroff >= (HFA384x_PDA_LEN_MAX / 2 - 1)) {
 	if (curroff >= (HFA384x_PDA_LEN_MAX / 2 - 1)) {
 		pr_err("no end record found or invalid lengths in PDR data, exiting. %x %d\n",
 		pr_err("no end record found or invalid lengths in PDR data, exiting. %x %d\n",
@@ -761,7 +758,6 @@ static int plugimage(struct imgchunk *fchunk, unsigned int nfchunks,
 		}
 		}
 	}
 	}
 	return result;
 	return result;
-
 }
 }
 
 
 /*----------------------------------------------------------------
 /*----------------------------------------------------------------
@@ -890,7 +886,6 @@ static int read_fwfile(const struct ihex_binrec *record)
 	pr_debug("Reading fw file ...\n");
 	pr_debug("Reading fw file ...\n");
 
 
 	while (record) {
 	while (record) {
-
 		rcnt++;
 		rcnt++;
 
 
 		len = be16_to_cpu(record->len);
 		len = be16_to_cpu(record->len);
@@ -1118,7 +1113,6 @@ static int writeimage(struct wlandevice *wlandev, struct imgchunk *fchunk,
 				result = 1;
 				result = 1;
 				goto free_result;
 				goto free_result;
 			}
 			}
-
 		}
 		}
 	}
 	}