* [PATCH] staging: rtl8192e: remove multiple blank lines
@ 2022-04-06 15:49 Alaa Mohamed
0 siblings, 0 replies; 3+ messages in thread
From: Alaa Mohamed @ 2022-04-06 15:49 UTC (permalink / raw)
To: outreachy; +Cc: gregkh, linux-staging, linux-kernel, eng.alaamohamedsoliman.am
Reported by checkpatch:
CHECK: Please don't use multiple blank lines
Signed-off-by: Alaa Mohamed <eng.alaamohamedsoliman.am@gmail.com>
---
drivers/staging/rtl8192e/rtl819x_BAProc.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c
index 97afea4c3511..b0b1c839e770 100644
--- a/drivers/staging/rtl8192e/rtl819x_BAProc.c
+++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c
@@ -343,7 +343,6 @@ int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb)
goto OnADDBARsp_Reject;
}
-
if (!GetTs(ieee, (struct ts_common_info **)(&pTS), dst,
(u8)(pBaParamSet->field.tid), TX_DIR, false)) {
netdev_warn(ieee->dev, "%s(): can't get TS\n", __func__);
@@ -355,7 +354,6 @@ int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb)
pPendingBA = &pTS->TxPendingBARecord;
pAdmittedBA = &pTS->TxAdmittedBARecord;
-
if (pAdmittedBA->b_valid) {
netdev_dbg(ieee->dev, "%s(): ADDBA response already admitted\n",
__func__);
@@ -374,7 +372,6 @@ int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb)
DeActivateBAEntry(ieee, pPendingBA);
}
-
if (*pStatusCode == ADDBA_STATUS_SUCCESS) {
if (pBaParamSet->field.ba_policy == BA_POLICY_DELAYED) {
pTS->bAddBaReqDelayed = true;
--
2.35.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] staging: rtl8192e: remove multiple blank lines
@ 2021-02-13 3:47 ` William Durand
0 siblings, 0 replies; 3+ messages in thread
From: William Durand @ 2021-02-13 3:47 UTC (permalink / raw)
To: Greg Kroah-Hartman, devel, linux-kernel
This patch removes some blank lines in order to fix a checkpatch issue.
Signed-off-by: William Durand <will+git@drnd.me>
---
This is my very first patch.
drivers/staging/rtl8192e/rtllib_wx.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/rtl8192e/rtllib_wx.c b/drivers/staging/rtl8192e/rtllib_wx.c
index aa26b2fd2774..2e486ccb6432 100644
--- a/drivers/staging/rtl8192e/rtllib_wx.c
+++ b/drivers/staging/rtl8192e/rtllib_wx.c
@@ -341,8 +341,6 @@ int rtllib_wx_set_encode(struct rtllib_device *ieee,
goto done;
}
-
-
sec.enabled = 1;
sec.flags |= SEC_ENABLED;
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] staging: rtl8192e: remove multiple blank lines
@ 2021-02-13 3:47 ` William Durand
0 siblings, 0 replies; 3+ messages in thread
From: William Durand @ 2021-02-13 3:47 UTC (permalink / raw)
To: Greg Kroah-Hartman, devel, linux-kernel
This patch removes some blank lines in order to fix a checkpatch issue.
Signed-off-by: William Durand <will+git@drnd.me>
---
This is my very first patch.
drivers/staging/rtl8192e/rtllib_wx.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/rtl8192e/rtllib_wx.c b/drivers/staging/rtl8192e/rtllib_wx.c
index aa26b2fd2774..2e486ccb6432 100644
--- a/drivers/staging/rtl8192e/rtllib_wx.c
+++ b/drivers/staging/rtl8192e/rtllib_wx.c
@@ -341,8 +341,6 @@ int rtllib_wx_set_encode(struct rtllib_device *ieee,
goto done;
}
-
-
sec.enabled = 1;
sec.flags |= SEC_ENABLED;
--
2.17.1
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-04-06 15:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-06 15:49 [PATCH] staging: rtl8192e: remove multiple blank lines Alaa Mohamed
-- strict thread matches above, loose matches on Subject: below --
2021-02-13 3:47 William Durand
2021-02-13 3:47 ` William Durand
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.