staging: rtl8192e: remove blank lines after '{'
authorKhadija Kamran <kamrankhadijadj@gmail.com>
Fri, 24 Mar 2023 22:31:31 +0000 (03:31 +0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Mar 2023 08:51:43 +0000 (09:51 +0100)
Remove unnecessary blank lines after an open brace to adhere to the
Linux kernel coding-style guidelines. These issues are reported by
checkpatch.pl

"CHECK: Blank lines aren't necessary after an open brace '{'"

Signed-off-by: Khadija Kamran <kamrankhadijadj@gmail.com>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/e7cd8152e6986d361f81289868040889224bd1bf.1679696777.git.kamrankhadijadj@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_rx.c

index f627dfe..b649d02 100644 (file)
@@ -1167,7 +1167,6 @@ static int rtllib_rx_decrypt(struct rtllib_device *ieee, struct sk_buff *skb,
        if (crypt && !(fc & RTLLIB_FCTL_WEP) && !ieee->open_wep) {
                if (/*ieee->ieee802_1x &&*/
                    rtllib_is_eapol_frame(ieee, skb, hdrlen)) {
-
                        /* pass unencrypted EAPOL frames even if encryption is
                         * configured
                         */
@@ -1207,7 +1206,6 @@ static void rtllib_rx_check_leave_lps(struct rtllib_device *ieee, u8 unicast,
                                      u8 nr_subframes)
 {
        if (unicast) {
-
                if (ieee->state == RTLLIB_LINKED) {
                        if (((ieee->link_detect_info.NumRxUnicastOkInPeriod +
                            ieee->link_detect_info.NumTxOkInPeriod) > 8) ||
@@ -1552,7 +1550,6 @@ static u8 qos_oui[QOS_OUI_LEN] = { 0x00, 0x50, 0xF2 };
 static int rtllib_verify_qos_info(struct rtllib_qos_information_element
                                     *info_element, int sub_type)
 {
-
        if (info_element->elementID != QOS_ELEMENT_ID)
                return -1;
        if (info_element->qui_subtype != sub_type)
@@ -2696,7 +2693,6 @@ static void rtllib_rx_mgt(struct rtllib_device *ieee,
                ieee->last_rx_ps_time = jiffies;
 
        switch (WLAN_FC_GET_STYPE(le16_to_cpu(header->frame_ctl))) {
-
        case RTLLIB_STYPE_BEACON:
                netdev_dbg(ieee->dev, "received BEACON (%d)\n",
                           WLAN_FC_GET_STYPE(le16_to_cpu(header->frame_ctl)));