Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1751915rwl; Fri, 24 Mar 2023 15:12:06 -0700 (PDT) X-Google-Smtp-Source: AKy350bXDiH5rnIlqvoH9T3JoXvtFCLDOctuaIHSBMePxmfl6uq5+0FHAf6V3G9mSNuc5DzIIWxY X-Received: by 2002:a17:907:3f97:b0:93f:505b:9742 with SMTP id hr23-20020a1709073f9700b0093f505b9742mr21244ejc.65.1679695925901; Fri, 24 Mar 2023 15:12:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679695925; cv=none; d=google.com; s=arc-20160816; b=jlt5hNA2gvCaWBpsc0VE511inPJUfgKIU5FBa7QRvzEjeUX147iqbBPge4HrYPYvzt lDrx3i8oj6LM4jfDV14DimMbGh9opj/NMTo5Dx4ivsGoXc3bXYsSXfc0nhurteGjkOJM jTyCnv3jJcm+iKRzRhcyh/4GJJoJy8m9fxOBQ//UFB0nIKCH5d6zeu4jCh81gYU0Oq0T JIttMYCUpuGDqzGMxIJGMo18+Ff7kjl8muC1VlvZE8QM0jxlJ8n41vv64TEW4tsXjSav fI7aJklB1WSyxrk45Gy05F4dpdxtWLXXxGZps23roNv40R5BMS2amw4jt51Zsqn1vavO L8cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=qHW/CyCQWbbVJjXUcNnqunHcb5Z7BkaW2HblBqM5Qy8=; b=kU51gSwbOuQXJtZ/e/0W5J1Nc5pl4hXvQ0widlwmqE1C5gYsUiWptoaAHCa3lAyOPO qI28CMQTEeZZcRztgPKtcw1RgzT+fSn47Wtq/m0GIGeXABF6nFb954KtFEp9792EeCsZ tbsk+YN4yaGyY/o9tdsqvNQA3UM6i9y23srUk3SMQGmTARzYfcvrPQbzKngUU7c3nb/j zaabEh66RpBdW3qtrPWTObuy2KCKqr0ILf6oDR02dQ5v4BK29UeMZCM/7ybyk8yiLZgK mBs3bKCGiGRMATrMV4oOrMz73c3MixqTMzTYs825kTYccafYHklKp3EjW8us+sslvOXs 2ebQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=P8OaKsVj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c9-20020a170906762900b008bf6a0f7ecasi22011930ejn.110.2023.03.24.15.11.41; Fri, 24 Mar 2023 15:12:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=P8OaKsVj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231863AbjCXWKC (ORCPT + 99 others); Fri, 24 Mar 2023 18:10:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231693AbjCXWKA (ORCPT ); Fri, 24 Mar 2023 18:10:00 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 099F3C2 for ; Fri, 24 Mar 2023 15:09:59 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id l27so3162528wrb.2 for ; Fri, 24 Mar 2023 15:09:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679695797; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=qHW/CyCQWbbVJjXUcNnqunHcb5Z7BkaW2HblBqM5Qy8=; b=P8OaKsVj8aVBbGfD44ArWKOkdXCKP4ihm+EBz8j6hFS/77+OnOC+rb1B321webTsN3 kNl5ixQm2p5+I4JBMST/4+5NW9LEeffyRP2UlKs46HsGp+S6Lfny7yOsBMGK2tKy9+wN 0VoteDOVJRtrL96nIJPhnA59RVIL4ua2ACnPyOpoBVSOn8CNeHjvu1OgRpHOp2W/EtlR DeubsbdrOiwOtmn4KhxbTfLaqPJnqekJIMmf54U8858WxQxwP50++wp0h98wWdngWj33 hpIZwcZTs0e5MvOTtmSD5TLPyFsWJtk/3TEvEnTAi7T6jd1pvxTdX0ajh9Hdenkqa2tX Hsvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679695797; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qHW/CyCQWbbVJjXUcNnqunHcb5Z7BkaW2HblBqM5Qy8=; b=ET/bENtSYEU+uWBTHg9gtXCARM3n9ZgBdIGpAXWZWZrUHPBK5TzTmSdnc1Z7Xw8UKZ pIaPfKHRDihZdPOY33u/PVz4UnyL3TZcaj+YYqkgZhns2VE2EtUjQ5J1vZ3BQa6iwwd1 oeW98xZtMy0wm1fr0Yfn6HtiCwRL8qxbYJ4OcLbxFShVZnWd1HFJJjwANvdP3Fqzzpf1 3x0UEyTW3u5TzWwGbRIxG+Xt2tSRU7eXUOFlaJA9Bt+XFlUL/4zIanebD/7/HXsbgTFh UfzqxiMek02Zf0lzYQ2GMSHhT47u2ynb3kyDk0TsuFNaRZewI/AeXNUkLHpOWl8QhISa kQAA== X-Gm-Message-State: AAQBX9c1t3qUSBiRZ7syEqUypQkn9Zd+2CiGzdUwVN5eQSHY/orTkosA L2Y+K/lBTZ9lhy8SqsdG5AUNprejrNvv13vt X-Received: by 2002:a5d:58e9:0:b0:2d1:87f:2cd1 with SMTP id f9-20020a5d58e9000000b002d1087f2cd1mr3876648wrd.25.1679695797489; Fri, 24 Mar 2023 15:09:57 -0700 (PDT) Received: from khadija-virtual-machine.localdomain ([39.41.14.14]) by smtp.gmail.com with ESMTPSA id x12-20020a5d650c000000b002c5544b3a69sm19201736wru.89.2023.03.24.15.09.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Mar 2023 15:09:57 -0700 (PDT) From: Khadija Kamran To: outreachy@lists.linux.dev Cc: gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v3 1/4] staging: rtl8192e: remove extra blank lines Date: Sat, 25 Mar 2023 03:09:48 +0500 Message-Id: <6d7388f944e8296227269c7472a462ea7c94149c.1679695111.git.kamrankhadijadj@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove the extra blank line in accordance with the Linux kernel coding-style regulations. These issues were reported by checkpatch.pl "CHECK: Please don't use multiple blank lines" Signed-off-by: Khadija Kamran --- drivers/staging/rtl8192e/rtllib_rx.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192e/rtllib_rx.c index c394c21beefb..c6114d99829b 100644 --- a/drivers/staging/rtl8192e/rtllib_rx.c +++ b/drivers/staging/rtl8192e/rtllib_rx.c @@ -154,7 +154,6 @@ rtllib_frag_cache_get(struct rtllib_device *ieee, return skb; } - /* Called only as a tasklet (software IRQ) */ static int rtllib_frag_cache_invalidate(struct rtllib_device *ieee, struct rtllib_hdr_4addr *hdr) @@ -318,7 +317,6 @@ rtllib_rx_frame_decrypt(struct rtllib_device *ieee, struct sk_buff *skb, return res; } - /* Called only as a tasklet (software IRQ), by rtllib_rx */ static inline int rtllib_rx_frame_decrypt_msdu(struct rtllib_device *ieee, struct sk_buff *skb, @@ -355,7 +353,6 @@ rtllib_rx_frame_decrypt_msdu(struct rtllib_device *ieee, struct sk_buff *skb, return 0; } - /* this function is stolen from ipw2200 driver*/ #define IEEE_PACKET_RETRY_TIME (5*HZ) static int is_duplicate_packet(struct rtllib_device *ieee, @@ -887,7 +884,6 @@ static u8 parse_subframe(struct rtllib_device *ieee, struct sk_buff *skb, return rxb->nr_subframes; } - static size_t rtllib_rx_get_hdrlen(struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats) @@ -1569,7 +1565,6 @@ static int rtllib_verify_qos_info(struct rtllib_qos_information_element return 0; } - /* Parse a QoS parameter element */ static int rtllib_read_qos_param_element( struct rtllib_qos_parameter_info *element_param, @@ -1599,7 +1594,6 @@ static int rtllib_read_qos_info_element( return rtllib_verify_qos_info(element_info, QOS_OUI_INFO_SUB_TYPE); } - /* Write QoS parameters from the ac parameters. */ static int rtllib_qos_convert_ac_to_parameters(struct rtllib_qos_parameter_info *param_elm, struct rtllib_qos_data *qos_data) @@ -1843,7 +1837,6 @@ static void rtllib_parse_mife_generic(struct rtllib_device *ieee, } } - if (*tmp_htinfo_len == 0) { if (info_element->len >= 4 && info_element->data[0] == 0x00 && @@ -1932,7 +1925,6 @@ static void rtllib_parse_mife_generic(struct rtllib_device *ieee, info_element->data[2] == 0x96) network->cisco_cap_exist = true; - if (info_element->len >= 3 && info_element->data[0] == 0x00 && info_element->data[1] == 0x0a && @@ -2142,13 +2134,11 @@ int rtllib_parse_info_param(struct rtllib_device *ieee, network->dtim_data = RTLLIB_DTIM_VALID; - if (info_element->data[2] & 1) network->dtim_data |= RTLLIB_DTIM_MBCAST; offset = (info_element->data[2] >> 1)*2; - if (ieee->assoc_id < 8*offset || ieee->assoc_id > 8*(offset + info_element->len - 3)) break; @@ -2203,7 +2193,6 @@ int rtllib_parse_info_param(struct rtllib_device *ieee, &tmp_htcap_len); break; - case MFIE_TYPE_HT_INFO: netdev_dbg(ieee->dev, "MFIE_TYPE_HT_INFO: %d bytes\n", info_element->len); @@ -2392,7 +2381,6 @@ static inline int is_same_network(struct rtllib_network *src, (dst->capability & WLAN_CAPABILITY_ESS))); } - static inline void update_network(struct rtllib_device *ieee, struct rtllib_network *dst, struct rtllib_network *src) @@ -2580,7 +2568,6 @@ static inline void rtllib_process_probe_response( goto free_network; } - if (!rtllib_legal_channel(ieee, network->channel)) goto free_network; -- 2.34.1