[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <96d80bac35397888da089268a50a0528d7acd84a.1679988016.git.abhirupdeb@linux.vnet.ibm.com>
Date: Wed, 29 Mar 2023 22:31:35 +0530
From: Abhirup Deb <abhirupdeb@...ux.vnet.ibm.com>
To: Martyn Welch <martyn@...chs.me.uk>,
Manohar Vanga <manohar.vanga@...il.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org, linux-staging@...ts.linux.dev
Cc: abhirupdeb@...ux.vnet.ibm.com
Subject: [PATCH 1/5] staging: r8188eu: add blank line after declaration
Add a blank line after variable declaration to improve
code-readability and resolve checkpatch warnings.
checkpatch warning produced:
WARNING: Missing a blank line after declarations
Signed-off-by: Abhirup Deb <abhirupdeb@...ux.vnet.ibm.com>
---
drivers/staging/r8188eu/hal/usb_halinit.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/staging/r8188eu/hal/usb_halinit.c b/drivers/staging/r8188eu/hal/usb_halinit.c
index d28b4dc2a767..2ba1c1b25a76 100644
--- a/drivers/staging/r8188eu/hal/usb_halinit.c
+++ b/drivers/staging/r8188eu/hal/usb_halinit.c
@@ -93,6 +93,7 @@ u32 rtl8188eu_InitPowerOn(struct adapter *adapt)
/* HW Power on sequence */
struct hal_data_8188e *haldata = &adapt->haldata;
+
if (haldata->bMacPwrCtrlOn)
return _SUCCESS;
@@ -295,6 +296,7 @@ static void _InitTransferPageSize(struct adapter *Adapter)
/* Tx page size is always 128. */
u8 value8;
+
value8 = _PSRX(PBP_128) | _PSTX(PBP_128);
rtw_write8(Adapter, REG_PBP, value8);
}
--
2.31.1
Powered by blists - more mailing lists