Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp39854rwl; Thu, 23 Mar 2023 12:22:18 -0700 (PDT) X-Google-Smtp-Source: AKy350bBZ89UalJhwmQus0rqrrmPsDGSWfGGVD0LewSf5EOTe3dgy+ZqQC5MDoKMvxFX5jmERPXG X-Received: by 2002:a17:906:31cb:b0:92c:a80e:225f with SMTP id f11-20020a17090631cb00b0092ca80e225fmr141959ejf.52.1679599337766; Thu, 23 Mar 2023 12:22:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679599337; cv=none; d=google.com; s=arc-20160816; b=vun67tngJPy/skU6+QhVdl8+sbn9XsMQgIHFJqtMgbkCzioyvjufcB3lB/CFgU+r0q 00OtpWb6MsSQo3lzHcz/VnpLe16aACgjAU2XtsVCkL6u9X83k81FFMpTDz6bR4OZmGPI Muap+i5/ZvHNM4Y+RewRCxCMHhGQdS+sDW+wqSQK7/NDl7J8jLMjgVl50a2bHGlCwAcp QuiMCS0bK8hl9qKc7AfjB/+LsVqENJubZvj7BSA69kLNimsjK2TuxjbNXix6xcUCYRqQ P3h4NZeQHnVgQAWRTL6RbafqybSkR8vWO9L47pPRgu+i/i4JD+JzGzrkjqMCh1YEhAZ9 YEgA== 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=IHVvmtv21lJkJ1YLGobTDaAEe4QsOHPsgwmOpZbVSbrg0euCmFm9sAxAJtpBiRqSvT iazDRTrMBYcOVgUu1tFM3oxlyGnQH8bwzrEsupJHEp7MdaDuQMHmv42HLVNAZEv1mzfg Zu+cfgVKJGuCGvixuxNdzWyYS78jKe5lfpk04OYUiBuWVtwcp+/x8sCRS2oOMObAcCzu HkTSPDQT7fr9U2axIiEG0D4M2T9DoK5XMxYE25LQIVOnzy9OFQQ51sltR2sosKc1T8zU CIGLkr2q8xWdy+X7smMfbX27cpbru7VCaXXpRW9WBIzox+jwDEgmkDK/OVFfnSXeVhJt ZNtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PsuTEuVk; 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 fy39-20020a1709069f2700b0093472dbf64asi10562833ejc.557.2023.03.23.12.21.51; Thu, 23 Mar 2023 12:22:17 -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=PsuTEuVk; 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 S229873AbjCWTUN (ORCPT + 99 others); Thu, 23 Mar 2023 15:20:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229708AbjCWTUL (ORCPT ); Thu, 23 Mar 2023 15:20:11 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 968D083E6 for ; Thu, 23 Mar 2023 12:20:09 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id h8so91165111ede.8 for ; Thu, 23 Mar 2023 12:20:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679599208; 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=PsuTEuVki59XvlIOe683IH21N2h3cwEZY2drskLXIGwugdNSh38u6C+x8s02j8NfV0 Yizqxtb8CgKZgvaBfAYH0VoXODjt+F1WcjD/OS60F9QWSuOkokokuKzVTpI5eqWwOAP5 Nc80OqwiM9YaTqSBlrI82KfzVGyAobA8zVLP1D/UMf6HFkvnmyB3H9fH6fWIn0qjy/20 uOQxVpjriETGw7WFXWDJUaS7XMrV8rmAp9hnLI6YKCRZVsTjqi2mhfarIfCIyMQzimcX w7LRytJSypb44ZAtP8Xxjo5pmYU2onkBChPsiBhVBpZ71WiSLS3oIvhkU8CkorbwoaSY fQHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679599208; 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=lZYRE1OzmEqAA/eVJMt52Zl7B1BchiUM+SdcM5qqVQxbSnDrdTYPYSQJVwik7wHfzc OhHl46Zu3zHyLXELHcRZfeApcq8QkHm0hsHM+QtgL1tssdB/CWaUAqb7REcqlmxqy462 fLXnWRJFT82ovIKgJL6v5jLcvTcnYa1RA3JkW4dEg0pJ5gtQoT+ewNWSpfbdXGzvHNip jYjNAF4kkFyAC6IfVZWJDI9dzkxbqGUXo+2tse2D6i+2jwsaSAIDGYLcFMCy0eHt+mlW QK8ze+K/U+v4tNySp3UTD03lWmf4Vce4PhMC2aeZkMg5Q+Oj4HaaIKUkQ7yG8C39qeKD O2ig== X-Gm-Message-State: AAQBX9dEwhna4AH9ef1a+xHuZ25EcS7LVI21lL9tsZ5DtISFJlU17y5U PT1pBStSzY2K/J3xd4n7LVzw6zsJ6wfWT4pF X-Received: by 2002:a17:906:32d6:b0:931:f8b2:c7a0 with SMTP id k22-20020a17090632d600b00931f8b2c7a0mr119045ejk.43.1679599207999; Thu, 23 Mar 2023 12:20:07 -0700 (PDT) Received: from khadija-virtual-machine.localdomain ([39.41.14.14]) by smtp.gmail.com with ESMTPSA id ia9-20020a170907a06900b00932b3e2c015sm8161409ejc.51.2023.03.23.12.20.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Mar 2023 12:20:07 -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 v2 1/4] staging: rtl8192e: remove extra blank lines Date: Fri, 24 Mar 2023 00:19:59 +0500 Message-Id: <43d5864fc42e51089a0a0626278204bac8313eb0.1679598576.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 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