Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp7583029rwl; Thu, 23 Mar 2023 06:21:00 -0700 (PDT) Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="j+Ir1g/O" X-Google-Smtp-Source: AK7set/MHINKsuA4y28x04R8NGRssb2z5iySxRin5Iamx3WFvVnxTgOvEY1VIG4EPLoAyTkAxkZf X-Received: by 2002:a17:90b:1b0b:b0:237:f925:f63 with SMTP id nu11-20020a17090b1b0b00b00237f9250f63mr8283417pjb.13.1679577660697; Thu, 23 Mar 2023 06:21:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679577660; cv=none; d=google.com; s=arc-20160816; b=JsTrNGk6HmMjq3MAgMMGl4rg7NfLrXT294wXzjnrWbiULwRxBRBH2hOlFTPAdnAq/0 7mxzNVFHBoSwlEA3uZwDHUApEZtUn7kXZJ9ycLumNvpkgXsFUM3pfyuXCn2wEp2iQl82 7uPVCnt0PLaoDBPRfZfNb/+IY4ouXcczT72xgDur/16TyTFJMwNc12CihEkD8CYN96iF qP/4tbY+s2wR5aK5s2JyfDlv6B/292FJJSatA3q4iDuBTYw4/sTkzFPyUmanyCTTkkJo WrEdbz7b4oJbQKOMxBFegs01jNF9AKWOPRA/Mapvl6cH5Zwg6Gsa3ArxEc1KfX+odZEG zixw== 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=k6Xb+RbdfrCFaX4fAvtglIiIfi+xUTj88lqxnV/6lAL6/WGp6kA5Ar1gKYJ/NjFR9+ uuDPH/W3md0tmezLncNkKQDQQc/G6e/GDIwDD195ehOI0miI2+u2Eow3nRz6kBKMcolz tRzDX9JW9YdFmNXG3h1S/EVcVCP6CMDXw3aVi3hNRuSaKGMQFcPwqKl0zDtAcoSk6PpX MQ0NfGQiV0igI8Gp9ioODcc2lqWp7zgUTTprR2gtXRNauV9wClMVuGxf9kkikWv5/wrD 5Ur8hfBZn5Al6IPYhwudbsXscsbNzrL6NgNOtTfeQdlk1S6sYZVBCC3IFhw4C8igY44c xovQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="j+Ir1g/O"; 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 k90-20020a17090a3ee300b00230ba341251si1742161pjc.82.2023.03.23.06.20.47; Thu, 23 Mar 2023 06:21:00 -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="j+Ir1g/O"; 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 S231897AbjCWMl7 (ORCPT + 99 others); Thu, 23 Mar 2023 08:41:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230231AbjCWMl5 (ORCPT ); Thu, 23 Mar 2023 08:41:57 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D2042210F for ; Thu, 23 Mar 2023 05:41:52 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id ek18so85980327edb.6 for ; Thu, 23 Mar 2023 05:41:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679575311; 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=j+Ir1g/OUjpJiUjvV/6+8j4aR7/q4Z07vY8VqTz8lNOlI7cslcW+1DYMyk2UxDSJhC j3cKjK+Fve9mMChDP/IchnqNX86XJdlAY254J5F0CEy028olhesU7IktJYVjLGBDcJ9U GaDuogzrZ8iuwVTZo7FJa79AGU8C+xJplxD/63WUdBeDqLl+drNDn2nX2Sm4guV3so/r 0Yvmyk1E2bQbWyBcqP4Xu7SjUoJm+rzVcY00YqVTzbCCiWhwi4YO5rXeEN7uZE9zE/PB trmFkCNk5zk8GRREgymClP8YKo9qPlJsB+bNFDjVpYiNwbTkbav0s29t7PuQhebg/s8l ZK/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679575311; 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=0pg0SErhjsuBshp2RUf6Hu/Iw69q/nqXBCIk0GrclivzDsiYnlQkeyMXo01jnJh1Ss QBeh3XDsee+Hl6+6nqCW4BOiRww5MnsxMJqfH/3wWHKYrIgYgnQQcY36uqWRyBoFQ4KQ 9/lrw+1+HbkiJC3EPf0G/x0wRNfjKdOI8cWRWajQFu43Hdx7OOQd3+GmuVFMLucV1Ryc iS+KwDl3fm/G2nwyfiFLOCWLqVMzl/6AxP0NuyDzKlXYrRw29A8geBoQThYo6riEh3gz 4Kxx6lSMKrqpNEh1vpn7vwRJstTHAlOxDYORU8ixaLEype9kCtQsDYMjTKPasOF+rt6M /SKw== X-Gm-Message-State: AO0yUKUbPfmONa+S4ShkfAFlytu2zLYVYcEI6urjqBiECq87vNxigkb7 W6nFAHEHbDsUTJMpWLP/s8unvawxZY4N/jUJ X-Received: by 2002:a17:907:765a:b0:8b1:7684:dfab with SMTP id kj26-20020a170907765a00b008b17684dfabmr12180970ejc.38.1679575311092; Thu, 23 Mar 2023 05:41:51 -0700 (PDT) Received: from khadija-virtual-machine.localdomain ([39.41.14.14]) by smtp.gmail.com with ESMTPSA id g1-20020a1709061c8100b0092669fb4ba1sm8597116ejh.130.2023.03.23.05.41.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Mar 2023 05:41:50 -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: [RESEND PATCH 1/4] staging: rtl8192e: remove extra blank lines Date: Thu, 23 Mar 2023 17:41:42 +0500 Message-Id: <43d5864fc42e51089a0a0626278204bac8313eb0.1679573474.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