public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: John Whitmore <johnfwhitmore@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: devel@driverdev.osuosl.org, gregkh@linuxfoundation.org,
	John Whitmore <johnfwhitmore@gmail.com>
Subject: [PATCH 08/11] staging:rtl8192u: Add missing blank lines - Style
Date: Sun,  7 Oct 2018 22:40:22 +0100	[thread overview]
Message-ID: <20181007214025.25469-9-johnfwhitmore@gmail.com> (raw)
In-Reply-To: <20181007214025.25469-1-johnfwhitmore@gmail.com>

Add missing blank lines after declarations. This clears the resulting
checkpatch issue.

This is a simple coding style change which should not impact runtime
code execution.

Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
---
 drivers/staging/rtl8192u/ieee80211/ieee80211_module.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
index c31db21f7e63..f134cd5a9829 100644
--- a/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
@@ -199,6 +199,7 @@ void free_ieee80211(struct net_device *dev)
 
 	for (i = 0; i < WEP_KEYS; i++) {
 		struct ieee80211_crypt_data *crypt = ieee->crypt[i];
+
 		if (crypt) {
 			if (crypt->ops)
 				crypt->ops->deinit(crypt->priv);
@@ -248,6 +249,7 @@ static ssize_t write_debug_level(struct file *file, const char __user *buffer,
 {
 	unsigned long val;
 	int err = kstrtoul_from_user(buffer, count, 0, &val);
+
 	if (err)
 		return err;
 	ieee80211_debug_level = val;
-- 
2.19.0


  parent reply	other threads:[~2018-10-07 21:40 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-07 21:40 [PATCH 00/11] staging:rtl8192u: Coding Style changes John Whitmore
2018-10-07 21:40 ` [PATCH 01/11] staging:rtl8192u: Add missing SPDX-License-Identifier - Style John Whitmore
2018-10-07 21:40 ` [PATCH 02/11] staging:rtl8192u: Removed commented out include " John Whitmore
2018-10-09 13:25   ` Greg KH
2018-10-07 21:40 ` [PATCH 03/11] staging:rtl8192u: Clear error with line ending ( " John Whitmore
2018-10-07 21:40 ` [PATCH 04/11] staging:rtl8192u: Remove extra blank lines " John Whitmore
2018-10-07 21:40 ` [PATCH 05/11] staging:rtl8192u: Add spaces around + operator " John Whitmore
2018-10-07 21:40 ` [PATCH 06/11] staging:rtl8192u: Rewrite test for null " John Whitmore
2018-10-09 13:26   ` Greg KH
2018-10-07 21:40 ` [PATCH 07/11] staging:rtl8192u: Correct code indentation " John Whitmore
2018-10-07 21:40 ` John Whitmore [this message]
2018-10-07 21:40 ` [PATCH 09/11] staging:rtl8192u: Remove unnecessary line continuation " John Whitmore
2018-10-07 21:40 ` [PATCH 10/11] staging:rtl8192u: Correct code alignment " John Whitmore
2018-10-07 21:40 ` [PATCH 11/11] staging:rtl8192u: Correct comparison with NULL " John Whitmore

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181007214025.25469-9-johnfwhitmore@gmail.com \
    --to=johnfwhitmore@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox