Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp40103rwl; Thu, 23 Mar 2023 12:22:27 -0700 (PDT) X-Google-Smtp-Source: AKy350bm0DO1L18Y4rs7plzJx94AUqVeplg3amlZZF3C7n8p6xURnUUoNSfTjXriLyJcqRZRQSR2 X-Received: by 2002:a05:6402:204c:b0:500:2cc6:36da with SMTP id bc12-20020a056402204c00b005002cc636damr532021edb.19.1679599347759; Thu, 23 Mar 2023 12:22:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679599347; cv=none; d=google.com; s=arc-20160816; b=Lm6asJRCQAiFHb8c0jN+3KjFUVujMlaTZazg3wmwQw0WFvwSSZ/mU/3masd0rrqNU3 +U3ZKnb8SjKJP3Dr4dd6qjLN+PU8siphLqN6zmZDDkgRrhSeVcEY5tcMj7vrLZZZDUHS vLX2k0hgXejgnTmZm1kY7c40CQLqW2TiuDqiGV/d5S5Qe7TP6OTKw0qjzOWE5sTnGRp+ GLx0lNDaSTWF4+WGrH6iDOnC6+8FiUMDE4WPrmsSEdTE9WSiljFQdE52MtP5JPwXGjjy qvCMYEydJDelw3zyoOlo6S7QOG1GNKdMPn0j27pyWlwbZSUARydAf45hXJEI22//QDes WfNw== 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=jRIhiCMIYhlzOxpqNUvBzZ/DfwkIA0+Cejq18uIa0y0=; b=B71J8VtC06KHbgbweKVYtJyPALcniEfe5lexzzQqQbPco+eb07kDgjUJZVdrxqkym8 DRb+R82QS4ui2ooslIzLQIkb+KZsRiPiOLLxjIZ9akcwsO22hD+9xcTTAAlMtTb1feN3 avTo5QeQoYV0BfUaM5h6UEEZkR7Nuc1lc+17/mBFEyvMQnJjokfuDtRE1+zE0n10txAg TKqXcLF87Gjuc02j/ZrucgeK6pX9O9FIDLMOtIP+wQxDpm3pXcFq5TgIOTOEmru9gHzq 85WDHDVaw5ekAX5AXHh5GlPcu+Jmh9KQ2Hh5G+4/7wlqS3nBd8KPJ7YVKMHlPQ7n6WCE lxIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=lRY8iaHw; 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 b7-20020aa7c6c7000000b004fd241e4783si19304867eds.610.2023.03.23.12.21.59; Thu, 23 Mar 2023 12:22:27 -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=lRY8iaHw; 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 S230231AbjCWTUW (ORCPT + 99 others); Thu, 23 Mar 2023 15:20:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230009AbjCWTUQ (ORCPT ); Thu, 23 Mar 2023 15:20:16 -0400 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA4AEEFA1 for ; Thu, 23 Mar 2023 12:20:14 -0700 (PDT) Received: by mail-ed1-x530.google.com with SMTP id x3so91155369edb.10 for ; Thu, 23 Mar 2023 12:20:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679599213; 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=jRIhiCMIYhlzOxpqNUvBzZ/DfwkIA0+Cejq18uIa0y0=; b=lRY8iaHw69WCs1URcFv4/laikeuajycokc36F6FdzbOd+szHEuJtUPQSc3rAvyEBd8 PhzFu9iGZhI6tQcgvCbQ4Vtg8s4zM/Ft0ublnHympVGRZz4y6kjCaZaMZWX7+OBkmR76 tusUCSPQ66ntZcNhbTRUbVEAfAUEPPKs+vsEn5Y8q2e3gw+RWFUkmC2+rkk/B2MRWulA 9aWfqWwV7l5uqkigskT8iz1Val+oWI2IUFtNRaWpWtizZ6PxfFsmc5ADQ8eeTycaE3cZ HSFVC2L/WeKZsETyk3wJR366nK8+0Lwn/ygS+1vzDBNXhVIYy+uM/oq3oahKUwS09DmP royw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679599213; 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=jRIhiCMIYhlzOxpqNUvBzZ/DfwkIA0+Cejq18uIa0y0=; b=54kfkk9LEAh/z+RfGRAFObZrNDVAhUxpMG/tJen7Xm3Euw2PDvR4L4MsNrbRq9APU3 TwGpld1+lJZq0uhsmZxhpsH0yl5rhFdomMTkh64MIxFcX25IUyvoyzvBU7a75DN5lC8c 08WyOQ/8L40E4GxWCGNTYllJqGCRQAdz+wDKJMJ88fzIpXcDLY1ivq01ayM4oKD7ipHr 0P/LdNqptk4Q1e4xreh5LbaHG0hS2/W/W3KdtiHqBpQ+CI59vs8mPpH6jV8hfVIaT4Ru JfFzWfbLE1TW2nD+/bDdZ5+u/Qgqf3mkztzW4Oxb4gsBPQpZYLUxeV/cZnUX8X+L/y2d ne8w== X-Gm-Message-State: AAQBX9d0NlTtBk0cOlLNhH/d88DU/ZUXPXvAQlSnPEN5AadbY5rIjwIW r+zJ3ls1A/bp2PDZ0SnpX/o= X-Received: by 2002:a17:907:8c0e:b0:930:bc07:3bf7 with SMTP id ta14-20020a1709078c0e00b00930bc073bf7mr207842ejc.5.1679599213094; Thu, 23 Mar 2023 12:20:13 -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.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Mar 2023 12:20:12 -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 4/4] staging: rtl8192e: remove blank lines after '{' Date: Fri, 24 Mar 2023 00:20:02 +0500 Message-Id: <303a41480220a6c31cee91d40ece40b3fae3bddf.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 unnecessary blank lines after an open brace as reported by checkpatch.pl "CHECK: Blank lines aren't necessary after an open brace '{'" Signed-off-by: Khadija Kamran --- drivers/staging/rtl8192e/rtllib_rx.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192e/rtllib_rx.c index f627dfe66d90..b649d02dc5c8 100644 --- a/drivers/staging/rtl8192e/rtllib_rx.c +++ b/drivers/staging/rtl8192e/rtllib_rx.c @@ -1167,7 +1167,6 @@ static int rtllib_rx_decrypt(struct rtllib_device *ieee, struct sk_buff *skb, if (crypt && !(fc & RTLLIB_FCTL_WEP) && !ieee->open_wep) { if (/*ieee->ieee802_1x &&*/ rtllib_is_eapol_frame(ieee, skb, hdrlen)) { - /* pass unencrypted EAPOL frames even if encryption is * configured */ @@ -1207,7 +1206,6 @@ static void rtllib_rx_check_leave_lps(struct rtllib_device *ieee, u8 unicast, u8 nr_subframes) { if (unicast) { - if (ieee->state == RTLLIB_LINKED) { if (((ieee->link_detect_info.NumRxUnicastOkInPeriod + ieee->link_detect_info.NumTxOkInPeriod) > 8) || @@ -1552,7 +1550,6 @@ static u8 qos_oui[QOS_OUI_LEN] = { 0x00, 0x50, 0xF2 }; static int rtllib_verify_qos_info(struct rtllib_qos_information_element *info_element, int sub_type) { - if (info_element->elementID != QOS_ELEMENT_ID) return -1; if (info_element->qui_subtype != sub_type) @@ -2696,7 +2693,6 @@ static void rtllib_rx_mgt(struct rtllib_device *ieee, ieee->last_rx_ps_time = jiffies; switch (WLAN_FC_GET_STYPE(le16_to_cpu(header->frame_ctl))) { - case RTLLIB_STYPE_BEACON: netdev_dbg(ieee->dev, "received BEACON (%d)\n", WLAN_FC_GET_STYPE(le16_to_cpu(header->frame_ctl))); -- 2.34.1