[PATCH 1/7] Staging: rtl8192e: Added blank lines before/after struct

From: Felix Schlepper
Date: Tue Jun 28 2022 - 04:31:20 EST


This addresses an issue raised by checkpatch.pl:

$ ./scripts/checkpatch.pl --terse -f drivers/staging/rtl8192e/rtllib_wx.c
CHECK: Please use a blank line after function/struct/union/enum
declarations

The additional blank line above the struct/before the headers is
just cleaner.

Signed-off-by: Felix Schlepper <f3sch.git@xxxxxxxxxxx>
---
drivers/staging/rtl8192e/rtllib_wx.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/staging/rtl8192e/rtllib_wx.c b/drivers/staging/rtl8192e/rtllib_wx.c
index cf9a240924f2..3b81a3395527 100644
--- a/drivers/staging/rtl8192e/rtllib_wx.c
+++ b/drivers/staging/rtl8192e/rtllib_wx.c
@@ -17,10 +17,12 @@
#include <linux/module.h>
#include <linux/etherdevice.h>
#include "rtllib.h"
+
struct modes_unit {
char *mode_string;
int mode_size;
};
+
static struct modes_unit rtllib_modes[] = {
{"a", 1},
{"b", 1},
--
2.36.1