Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1752010rwl; Fri, 24 Mar 2023 15:12:11 -0700 (PDT) X-Google-Smtp-Source: AKy350ZDg2MZHf5DCYdsNsnc63FzUUddMQ9L7ym3wO25Z+AZBHtAu13Dk9AX8DadCBzDd3aslrxS X-Received: by 2002:a17:906:6882:b0:930:6ead:f81 with SMTP id n2-20020a170906688200b009306ead0f81mr3188189ejr.71.1679695931620; Fri, 24 Mar 2023 15:12:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679695931; cv=none; d=google.com; s=arc-20160816; b=qpN1Q3mTRV3eAULIGZ9xY770kaWVjx/XgJbPitYiiVu+u+E/lxIPvv+hUoTF1rC+aO t4mXgH7atS3UnR9GuhK8bzJ752SfpBqKn9oUaR4FVp0CcrdU2ReXGpwpGYtNDELPMqru LW/duFpQYYPZPXf3+M7PfnyHDK4fhI8sTAhky8ZQf2n+Bdu/lwGS7ciXLGRbUV8HiVfp myUpcldzQROrrDyyGxgavDERE+EqbVTrLQcFrjQO5yA4rnUrpLXyvum15txEejiCNMY8 REl43qYo8qJOYWU9AJSeG1Ar+yZ4vype0AqKSM+HrFnI6U2hg9yGHFd3L5NqAIHVoswM geDQ== 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=bmc+Yh3XTUiALV4q5vVltlntUVE9IZwmAKsrbcMIn8E=; b=AJSKskOL7v0OPziyW6yF6yCWwNWThOX+sNf61oG5aWQxkSHXe0AsLXEOLMiIAee4Wx DklAV6W8ydYJ1fYtjGuvzY17kq1hMPI1q12bBNOBlI712D17xLJnNPgY4W6gVoZlVVZb /nqCT8scwuac/2Y6PxjVuZ0+Aw7K/t/0K9m1VJqaEKmMqL0PUL/Qtyo5DTSku5OBsckv iSNGpCstpzVKbHA5JGHMSLdP5b6nlvuFLYayFKhy3i0cl557xeqnsW70nLTFtulozNFz ojw5X4Pt8ZhE4LrBPJrXCuYNL6keTa6A7AojDHjEzpNKxpOmhCFXACbAJbcQj9uZhZa/ Ol4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=bNPlIuYI; 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 rs1-20020a170907036100b0093bab66424esi7179978ejb.773.2023.03.24.15.11.47; Fri, 24 Mar 2023 15:12:11 -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=bNPlIuYI; 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 S232372AbjCXWKN (ORCPT + 99 others); Fri, 24 Mar 2023 18:10:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231985AbjCXWKF (ORCPT ); Fri, 24 Mar 2023 18:10:05 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DEC51F5C1 for ; Fri, 24 Mar 2023 15:10:04 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id i9so3160804wrp.3 for ; Fri, 24 Mar 2023 15:10:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679695802; 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=bmc+Yh3XTUiALV4q5vVltlntUVE9IZwmAKsrbcMIn8E=; b=bNPlIuYIBzrqhtaoy7xHmivpmU2OfSBWDYwRCu1ODldBBcHsmid5AeRgr7TiYc6p0H ZsiQFUqvyW9lYRiLcARM4JpKj6backof5tP9hyFQ72Db/gtBmusvPj57j+c0tfDGRJiO gp7nI9A5/sOHYU8x7D8WdiN4jFXM5/GpI6uhqPBMXik+LVROMKCXK1zTFIoRpfYEyUAD iBXhnXQGucRLIfx867s1r7vrrJmiUxtB1YxKrdXVJANyXMVTqxaFek+ArcBq/FsI+6Bm 6cyFRw6NicPPYaCjNaMJDCMCw2OOCNN0vxDQRRgrlmLFlU1/EgXhmw3hiqgCvdt2ZXl0 Y3RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679695802; 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=bmc+Yh3XTUiALV4q5vVltlntUVE9IZwmAKsrbcMIn8E=; b=0hUHgJGXFJALFKabL2a/XP7T0fF/b024yWkazWV4e0FPpcDBPIxltRvk7wC9RoIoK/ HhNNkTfBtjyzS2ouYb6Hd3+HJIyzpBDATkboe9W/dAmn7YOYI2SLGjTQGuw3ud6dvu91 xmBNvAwNh1fDOOGPxkC4ye71zNfzNTQFXZDRroWgM0Oa+kBcdNj5Co0ygRwdDNR3/bhX E5qzyCQBusavYdituzIdEzVf1xWs8gBTCNPbLRVbnl7EFEHvbkdnGe2cuT7dM79FP6q8 iK4pLG//SJv8/RbE7a3fGiy9hviXpsYND1AoZtZugA0GINSrz9A9O8MTd46WYSYf2vHD Ep2A== X-Gm-Message-State: AAQBX9cN1JYTOtHPSzg8EkLY8znxBMqtmYD6RIxf12ASiSEFFS0HUqqd V0LZ0rmQoI4JsPTzzXWjTLY= X-Received: by 2002:adf:f887:0:b0:2ce:a9e9:4905 with SMTP id u7-20020adff887000000b002cea9e94905mr3875825wrp.34.1679695802535; Fri, 24 Mar 2023 15:10:02 -0700 (PDT) Received: from khadija-virtual-machine.localdomain ([39.41.14.14]) by smtp.gmail.com with ESMTPSA id x12-20020a5d650c000000b002c5544b3a69sm19201736wru.89.2023.03.24.15.10.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Mar 2023 15:10:02 -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 v3 4/4] staging: rtl8192e: remove blank lines after '{' Date: Sat, 25 Mar 2023 03:09:51 +0500 Message-Id: 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 to adhere to the Linux kernel coding-style guidelines. These issues are 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