Commit 697f9f7f authored by Muraru Mihaela's avatar Muraru Mihaela Committed by Greg Kroah-Hartman
Browse files

Staging: ks7010: add blank line after declaration



This patch fixes a coding style WARNING:
Missing a blank line after declaration, found by checkpatch.pl.
By adding a blank line after declaration of a variable.

Signed-off-by: default avatarMuraru Mihaela <mihaela.muraru21@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3f64b35e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -294,6 +294,7 @@ static int write_to_device(struct ks_wlan_private *priv, unsigned char *buffer,
	int retval;
	unsigned char rw_data;
	struct hostif_hdr *hdr;

	hdr = (struct hostif_hdr *)buffer;

	DPRINTK(4, "size=%d\n", hdr->size);
@@ -358,6 +359,7 @@ int ks_wlan_hw_tx(struct ks_wlan_private *priv, void *p, unsigned long size,
{
	int result = 0;
	struct hostif_hdr *hdr;

	hdr = (struct hostif_hdr *)p;

	if (hdr->event < HIF_DATA_REQ || HIF_REQ_MAX < hdr->event) {
@@ -1117,6 +1119,7 @@ static void ks7010_sdio_remove(struct sdio_func *func)
	int ret;
	struct ks_sdio_card *card;
	struct ks_wlan_private *priv;

	DPRINTK(1, "ks7010_sdio_remove()\n");

	card = sdio_get_drvdata(func);
@@ -1142,6 +1145,7 @@ static void ks7010_sdio_remove(struct sdio_func *func)
		/* send stop request to MAC */
		{
			struct hostif_stop_request_t *pp;

			pp = kzalloc(hif_align_size(sizeof(*pp)), GFP_KERNEL);
			if (!pp) {
				DPRINTK(3, "allocate memory failed..\n");