Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6743690rwl; Wed, 22 Mar 2023 15:09:58 -0700 (PDT) X-Google-Smtp-Source: AK7set+LLpgPx2TOQ4mz5VadA/b1UnYDOy7NEw7ogrIOZ49ybS+BLn2MBDhzGe9JOx/JX213HQKt X-Received: by 2002:a17:906:31c2:b0:920:9af8:8260 with SMTP id f2-20020a17090631c200b009209af88260mr8372038ejf.68.1679522998118; Wed, 22 Mar 2023 15:09:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679522998; cv=none; d=google.com; s=arc-20160816; b=TQ8eFaZjxEpCGpt0ZaOjGI3wA4KHkBVVwb/Xu7h0jNERL51U5ccO78wMCxqLaf7fM8 S5uW6n3U1C/a63ZXZJ5QeG0CBrOaDo3vMfy9fvPxoYQ2VdzUJmSnBiKhiE52VV9nFjla 50gf62Wr1uQDLunKnHhzj7mSJYCAIP9bb7DIAJhfZQFwocNHKTi/dEyTk0y/dmmclIjv sOUXUEL9JPZqGxwZYn5+nt11AhHaenYApYbnOWfgdntZ0X4O4DakuP9SchfZbNcKDvXq Hn9XPinarSvGtIAAV69+rbJNEcNr5M1M1IA0l9PryUrxZH/2uYkbJACU/+LKzowzq1sv W6sA== 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=2qlJwucxS9YsM3710vjGoZ2YHREnKLXbsqoSCiO7TnI=; b=LWdB496Sc6eyTRX+aL/Hmop8u4UuFmmDoqjXo8UYRNSYdiVRiCIVgsLR6r6Ux51psP M3izLu0euDCUBp4Hf9qsh6Li2X5g9oMYkVNRGhdgpisdxiR+qnldVorPFQ4TGEpIautw 2t4SpUJ64VhtVdxbtJ20UUOnYgndy92SfQa+TZKzGKbypuXpV4+JCmAuB/xm6MlGtECp WyI9VRZO6alg0y4p74rNu4OgZY8VVPYG6mh1w0Tk3CjsgArsDQSe+UTM7htMeXNozZhr 0iiqDtlcRd1mpcLjGKZ7BWiI8RHYh0okNeYM2uh7f368PIik2B0O/lwobpe8OTj7Q4n6 4byA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@seecs.edu.pk header.s=google header.b="gPXSR/6C"; 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=REJECT sp=REJECT dis=NONE) header.from=seecs.edu.pk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hp7-20020a1709073e0700b00932e6d5bd8asi17349197ejc.980.2023.03.22.15.09.33; Wed, 22 Mar 2023 15:09:58 -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=@seecs.edu.pk header.s=google header.b="gPXSR/6C"; 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=REJECT sp=REJECT dis=NONE) header.from=seecs.edu.pk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229823AbjCVWHj (ORCPT + 99 others); Wed, 22 Mar 2023 18:07:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229756AbjCVWHi (ORCPT ); Wed, 22 Mar 2023 18:07:38 -0400 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B567D1A658 for ; Wed, 22 Mar 2023 15:07:36 -0700 (PDT) Received: by mail-ed1-x52f.google.com with SMTP id w9so78980382edc.3 for ; Wed, 22 Mar 2023 15:07:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seecs.edu.pk; s=google; t=1679522855; 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=2qlJwucxS9YsM3710vjGoZ2YHREnKLXbsqoSCiO7TnI=; b=gPXSR/6CQUuHvcu8ph+2uLp4ghyNKEBCx4AIpOi1WC5Jow3aQc2iTrRDKKmeprIXEz TPlS+FMUFFLfQMoBfW5mwv/5VVJTefVxqTR0rFafvQrdGsGuUXMlBiLQqPES83D+Y7Ux P5NB2/26JpPnrnKd5kMMz8TLx+5GD58EWTt4k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679522855; 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=2qlJwucxS9YsM3710vjGoZ2YHREnKLXbsqoSCiO7TnI=; b=SYFsnTvSULrA3Y85AmjGba3XjrQ3YULy5YJlOEdITs5q4QXpt+BODioJrXZFc+4f7h YpdFpmvsHYsLU50NSwMHegvfUTmjqKvmLZTHyfYTVh9m5g11Zm6c7BhLYwToAAhuCLwp oloD9yPi2+0kH3Fg2EeqV11cNoEGV6SHW5BB7NgVWXc58tuILQGDQtsvuWVpdr01LbWT bpq6nDDRCIJq3o3qJ2uI7xeVWTscbO9x0Vh0oLzR8tT+iJeOqiDPt6gEUCmBKvKPEcK/ p84vXg+hnVU29v2TG1rJKPs0bZMnKqJJ3421JM6IdECoi8tb46XIIuQBaT4xR7S0fJot uKSw== X-Gm-Message-State: AO0yUKWNQvdlNEd2LKpKUB+OgYjeMCOibTsl4Rbpn++Mw/EmPzef+qoP GOdwTkzNcSatqj/M+wKz/vk0sw== X-Received: by 2002:a17:906:5410:b0:931:86cf:9556 with SMTP id q16-20020a170906541000b0093186cf9556mr9343600ejo.23.1679522855286; Wed, 22 Mar 2023 15:07:35 -0700 (PDT) Received: from khadija-virtual-machine.localdomain ([39.41.14.14]) by smtp.gmail.com with ESMTPSA id v19-20020a17090651d300b0092b86d41dbasm7787935ejk.114.2023.03.22.15.07.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Mar 2023 15:07:35 -0700 (PDT) From: Khadija Kamran X-Google-Original-From: Khadija Kamran To: outreachy@lists.linux.dev Cc: gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Khadija Kamran Subject: [PATCH 1/4] staging: rtl8192e: remove extra blank lines Date: Thu, 23 Mar 2023 03:07:01 +0500 Message-Id: <43d5864fc42e51089a0a0626278204bac8313eb0.1679521517.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,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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 extra blank lines as 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