Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1765735rwl; Fri, 24 Mar 2023 15:26:44 -0700 (PDT) X-Google-Smtp-Source: AKy350bqcMPdsHcN/sN6Iy08UdC7pC++mhvLfIeZ1kQ7UNv2pbeVH8Eg9drf1/dQoIkPv4vf8Kez X-Received: by 2002:a17:906:40c7:b0:930:7324:2766 with SMTP id a7-20020a17090640c700b0093073242766mr3858806ejk.35.1679696804586; Fri, 24 Mar 2023 15:26:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679696804; cv=none; d=google.com; s=arc-20160816; b=Wp7aHGOPHVA9I9jh1W5P9qLofs4/1FP2P9GQfnRrTq09Iq88I7QPyIyOfIig+TsaYV eEGzOIOI262zFLXMmD6gabKuqC0qYjfPEzJc/yQT/fbJeOZX4WgJoChI9SVjYkDKSe+Y h2FkuO+/c0oYbY+WEOmvGfIZT6Hnk4MR8iGANNlxP76q92AnELaYUIQNmzRg3oiNP2QD q2xzIwZZ/lJgE5LGOPBQGJILSYrtx+33l14rYAtMZLjnntRzfSTlzP3TKqg+WoZInt54 No+41dRjp/XEicaSW551vmGhXFhKGzfeHU3sDQIXP8c5y+edHazfoXaKBYkq9GM/HvAR abFQ== 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=Awa6jaLc/2oVY+pVySG+lAHLOwOC6+RBa8qGT9lZbScvg04YC9nynaoWepTh4vIlg6 2uoUkfloHc3HrGlUKgzqUBoQmXun8wCBMzsaWTAlSPxWts5IWJTl4P5/TxR60582tNdY +mOjXNwLvIgjqn5fp8LT2AJ6BZNJLRqfP10bpmdBu2E2CTw46WWJT/rxrTskXm5iU1lh //zFXL0vZ+R4IxllqvoEMfvgsQ3IWNqjwek4ecv5lJw1m38mxrkgKO11COd9dSMrxuuK JCeXhRabBZ4Zj543lK2lTJPFwX/2tJu660ny77Y7gPyXSH0dQwOdQIhq5x5THW7Ij/zU o8oA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=hN4yS1Qu; 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 jz4-20020a17090775e400b0092351b1acdcsi14420534ejc.347.2023.03.24.15.26.19; Fri, 24 Mar 2023 15:26:44 -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=hN4yS1Qu; 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 S229605AbjCXWXP (ORCPT + 99 others); Fri, 24 Mar 2023 18:23:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231580AbjCXWXN (ORCPT ); Fri, 24 Mar 2023 18:23:13 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DEDC26B6 for ; Fri, 24 Mar 2023 15:23:11 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id r11so3155139wrr.12 for ; Fri, 24 Mar 2023 15:23:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679696589; 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=hN4yS1QuUvlAK+SeWoCtNOHs4tGTW5Cek5Dnu0W5yKrtsE7+h59yIA6QGVdd659ZWF Jx+1rUxL6KjIM5q/rJO2ketCN1tg5eVbJYFo8TMP82hW9pktoYj/wlK+yJiM6YQ702uo Lq6UBEp+E+QX2oJ+07xCFIo6Ob9gUWp0cmFJxG8Cfu5YM7ts9CQlaMY0htKs6yw9eUtS DdyeApMlnuRjCmGF9NUBFqaHtJ8pPoJxGIcHylKNnhkRR3YP62n8CO+qc059VaSQv5X/ AtXSE+B5dLttvSPDB+O07pRUxKI5iBGBBMjmHWZeLhDkJDE8tiBa+omFy1BXB9U9CIDe XRMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679696589; 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=GVFrdCh733FZoQIsWlPyjW+pZStGLC0i/IdCJY1ixymcyfOMcukBtuWkeV5fTJkV2s bYsdcx5o2meCvsiwPxGSIxNIZY7dWj+JQcKW0m/XWDo4KjBYOBczoup0FmHcV2jSSxkA bwN9hC/1efhyrF40Mozsb2Ct5I5r2/MvjFy+W9P29L+zesjEGR7+u9kvBQ6tyxMZAYyM G2oqWY9FyWfT0GL+/27z1h7Q6iSClMbmzJEDE33v5HyxkuqJ81AooS9wHVTJKLAqYJqZ wPTVxYFzx2tg95zORQ22KuQKnxc6g4JBDqS6Amdig297gJpZ/uwnBS1EDK2tsfFqOs3X RJuQ== X-Gm-Message-State: AAQBX9fv7ne9y3TnBmG142ouq5e3W4o5qe6iawbLedpSIrD2zL+KzVZb eukA3GifY+OpJjnlHhwlCsF0sK/UZ9VDig== X-Received: by 2002:adf:fe45:0:b0:2c7:d7c:7d7 with SMTP id m5-20020adffe45000000b002c70d7c07d7mr3254225wrs.22.1679696589532; Fri, 24 Mar 2023 15:23:09 -0700 (PDT) Received: from khadija-virtual-machine.localdomain ([39.41.14.14]) by smtp.gmail.com with ESMTPSA id m8-20020a5d4a08000000b002c3f03d8851sm19161446wrq.16.2023.03.24.15.23.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Mar 2023 15:23:09 -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 v4 1/4] staging: rtl8192e: remove extra blank lines Date: Sat, 25 Mar 2023 03:23:01 +0500 Message-Id: <6d7388f944e8296227269c7472a462ea7c94149c.1679696291.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