From: Benjamin Philip <benjamin.philip495@gmail.com>
To: Larry Finger <Larry.Finger@lwfinger.net>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: devel mailing list <devel@linuxdriverproject.org>,
Benjamin Philip <benjamin.philip495@gmail.com>
Subject: [PATCH] staging: rtl8188eu: remove unnecessary blank lines in core/rtw_ap.c
Date: Thu, 22 Jul 2021 01:15:54 +0530 [thread overview]
Message-ID: <20210721194554.203940-1-benjamin.philip495@gmail.com> (raw)
This commit fixes some checkpatch checks for blank lines before
and after braces in drivers/staging/rtl8188eu/core/rtw_ap.c
Signed-off-by: Benjamin Philip <benjamin.philip495@gmail.com>
---
This patch fixes some checkpatch.pl CHECKs for blank lines.
I have tested my changes by compiling them. I also used
checkpatch.pl, which did not issue any warnings for my patch.
This is my first patch to the kernel. If I have erred in the patch sending
workflow in any way, I will be glad to resend it in the correct manner.
drivers/staging/rtl8188eu/core/rtw_ap.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/staging/rtl8188eu/core/rtw_ap.c b/drivers/staging/rtl8188eu/core/rtw_ap.c
index b817aa8b9de4..a2aeb78733d5 100644
--- a/drivers/staging/rtl8188eu/core/rtw_ap.c
+++ b/drivers/staging/rtl8188eu/core/rtw_ap.c
@@ -381,7 +381,6 @@ void add_RATid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level)
/* set ra_id, init_rate */
psta->raid = raid;
psta->init_rate = init_rate;
-
}
}
@@ -453,7 +452,6 @@ static void update_bmc_sta(struct adapter *padapter)
spin_lock_bh(&psta->lock);
psta->state = _FW_LINKED;
spin_unlock_bh(&psta->lock);
-
}
}
@@ -1140,7 +1138,6 @@ static void update_bcn_wps_ie(struct adapter *padapter)
static void update_bcn_vendor_spec_ie(struct adapter *padapter, u8 *oui)
{
-
if (!memcmp(WPS_OUI, oui, 4))
update_bcn_wps_ie(padapter);
}
--
2.31.1
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
next reply other threads:[~2021-07-21 19:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-21 19:45 Benjamin Philip [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-07-21 10:58 [PATCH] staging: rtl8188eu: remove unnecessary blank lines in core/rtw_ap.c Benjamin Philip
2021-07-21 11:11 ` Greg Kroah-Hartman
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=20210721194554.203940-1-benjamin.philip495@gmail.com \
--to=benjamin.philip495@gmail.com \
--cc=Larry.Finger@lwfinger.net \
--cc=devel@linuxdriverproject.org \
--cc=gregkh@linuxfoundation.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).