Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp8867348rwi; Tue, 25 Oct 2022 11:51:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4nYMVJ0JIWLyBgLI5ylrtC+YcVhttsx+KbYyNKr9MQAF8AtPNEwAouaioL5IByhPk6pYt4 X-Received: by 2002:a17:902:e5ca:b0:183:88dd:1d34 with SMTP id u10-20020a170902e5ca00b0018388dd1d34mr41211497plf.134.1666723895887; Tue, 25 Oct 2022 11:51:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666723895; cv=none; d=google.com; s=arc-20160816; b=v6sgFCN3EnQ3UgkUdk4ZJpeElIuhpALP/ehnsOnwBAl607oQGMahcTAYAQYBjsA17g ynbm5RWdaJcLDyu35CMp0fVYekKjoYB0ppeZDcMGZgtFC1HKa1utxWWpbQtdsjHiM4MN AV/H6EL94l40il2J7KMltwSCnvrfDp6Dn3rbEFgfh+bhtekYs3IKN5QcQXoqOHpyqB6B rGMomr+AyR2hf/v6qH8Vkq701mz8Tf0Pbzic+CUD7Xx6aC7LNN9E1bbOnIwoiZ+U6icn XykS5cTBXX70HhctaT1dLiO8ULbntFhEwX3SdVa8HSmxG/FzJmDnTJ9F/wQJPeN5jpRN w2FQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=88oNzPUt/hklNuT3+gVgNnDseM0gTXsCehPcE6SyWPQ=; b=tN626Kc1FL65UbNHHVMkoPrtIfETlvdBb52whI+ZRp8G/MnaDd+0ofqwkKgF1tgN1W r+IGMIMBCvsLkSN9Khy4gLVIQcDzRvU8eiv09DIhpM1HQjU7/PTwz4M+cj0QH0zH2wGa Zcmt1/OTyzvBk1reAKv+rCUGnuDMRezFPssBGSWos4yx71rgKHeOE2xobMwdw79w23zI iLBAe8ZTCh4mBFjwpDAylSGnO/CzZ7cfLY7O2WgADZn2rQzU7BmsTa4IH3AqP6yB55sh lpkidGtAZsg4/iTResdlxta66zIXKUy+gqA3w4J8JPi4Ta8K+jpAM+aeUkc7bFw7BVCF 5YVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=GFYJZG6o; 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 x184-20020a6386c1000000b0046f38ad7708si1322093pgd.706.2022.10.25.11.51.21; Tue, 25 Oct 2022 11:51:35 -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=GFYJZG6o; 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 S230090AbiJYSDR (ORCPT + 99 others); Tue, 25 Oct 2022 14:03:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232481AbiJYSDO (ORCPT ); Tue, 25 Oct 2022 14:03:14 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3ADEA167EA for ; Tue, 25 Oct 2022 11:03:10 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id t25so9181425ejb.8 for ; Tue, 25 Oct 2022 11:03:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=88oNzPUt/hklNuT3+gVgNnDseM0gTXsCehPcE6SyWPQ=; b=GFYJZG6otnGca9bScD7Poayx7YyMh2FQbAJYYZO3QTDhm0J/ucT8+44fWMqe5epE+B mktFu4Mbxv/S2SNToMGRkwQxhMKIzRbV2HO4ew52bvRjHsQug1NjA2+9lHZLwQYVXpj9 TA1HCWRyJT1FctP5TNLJdqtez7ud9GmQGDZxpsm8DYertGakPGB3a2v0BpCvdVKZyG8i DeW3eE+l2KUCw6PEKqU7bxH+tXdoK1bP+2ImGVveCvseM680HkxvW1uTC02f4C3oWfBT eXopxfnGFa3zfi+AmyRBGlo9Uqa5E1DV2zZEL7yiaPW64t6TJxAxgCxe2gTNGoixjuep mmZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=88oNzPUt/hklNuT3+gVgNnDseM0gTXsCehPcE6SyWPQ=; b=bC/jW9HSL6rYjgrX/VkxQ36hOSla4oktyC4622fqq6v/aiaoVe7ZUGjf9r9KOASxgv G9HGNy8Lzyaai/gRVwi7p/pYbuuSx9+CD8p6znJimpwOTZHl7Qkhdxqt0OQmI/bhycgp vdUA1j1T35onByLPw8B6b1N3S29OIxIHHf0G/Y7rX8ge+THi+AhLkj0xiUrANa0xYOk2 RGYc0GPNsIKDQPYxELMSDVLkekVtAId6aFRVuZyNAHvoBDhga/ySYJI3qeOnTqmqLWqn vqGcuNpgrcdsFFuygaeJpHdQlbjMJrgDKNouOjUKa4Hr/YKmNtg+/zUl0U3AVk9SMp47 cKRg== X-Gm-Message-State: ACrzQf2yhNOTsnr3IrQA14GzWKQtsWP+3BXhyWms8uPoNDmc+o82xs+H v4aQx6RVfe7Fr9cS3KvJ5fl2AqktcBo= X-Received: by 2002:a17:907:2cce:b0:77a:6958:5aaa with SMTP id hg14-20020a1709072cce00b0077a69585aaamr32168489ejc.245.1666720988827; Tue, 25 Oct 2022 11:03:08 -0700 (PDT) Received: from [192.168.1.100] (p57935738.dip0.t-ipconnect.de. [87.147.87.56]) by smtp.gmail.com with ESMTPSA id j5-20020a170906830500b0072f112a6ad2sm1746651ejx.97.2022.10.25.11.03.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 25 Oct 2022 11:03:08 -0700 (PDT) Message-ID: <262e9819-88c4-abc9-dcce-ee020b847c6a@gmail.com> Date: Tue, 25 Oct 2022 20:03:07 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH] staging: rtl8192e: rtllib_crypt_wep: multiple blank lines removal Content-Language: en-US To: Aaron Lawrence , gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org References: <20221025104402.xvbfobi7sdnwlqs2@plymouth> From: Philipp Hortmann In-Reply-To: <20221025104402.xvbfobi7sdnwlqs2@plymouth> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 On 10/25/22 12:44, Aaron Lawrence wrote: > Removal of multiple unnecessary blank lines in accordance with the > Linux kernel coding-style regulations. Said issues ware detected on > this file by the checkpatch script. > > Signed-off-by: Aaron Lawrence > --- > drivers/staging/rtl8192e/rtllib_crypt_wep.c | 8 -------- > 1 file changed, 8 deletions(-) > > diff --git a/drivers/staging/rtl8192e/rtllib_crypt_wep.c b/drivers/staging/rtl8192e/rtllib_crypt_wep.c > index 7790271a6a40..062285e4d939 100644 > --- a/drivers/staging/rtl8192e/rtllib_crypt_wep.c > +++ b/drivers/staging/rtl8192e/rtllib_crypt_wep.c > @@ -27,7 +27,6 @@ struct prism2_wep_data { > struct arc4_ctx tx_ctx_arc4; > }; > > - > static void *prism2_wep_init(int keyidx) > { > struct prism2_wep_data *priv; > @@ -46,7 +45,6 @@ static void *prism2_wep_init(int keyidx) > return priv; > } > > - > static void prism2_wep_deinit(void *priv) > { > kfree_sensitive(priv); > @@ -120,7 +118,6 @@ static int prism2_wep_encrypt(struct sk_buff *skb, int hdr_len, void *priv) > return 0; > } > > - > /* Perform WEP decryption on given struct buffer. Buffer includes whole WEP > * part of the frame: IV (4 bytes), encrypted payload (including SNAP header), > * ICV (4 bytes). len includes both IV and ICV. > @@ -180,7 +177,6 @@ static int prism2_wep_decrypt(struct sk_buff *skb, int hdr_len, void *priv) > return 0; > } > > - > static int prism2_wep_set_key(void *key, int len, u8 *seq, void *priv) > { > struct prism2_wep_data *wep = priv; > @@ -194,7 +190,6 @@ static int prism2_wep_set_key(void *key, int len, u8 *seq, void *priv) > return 0; > } > > - > static int prism2_wep_get_key(void *key, int len, u8 *seq, void *priv) > { > struct prism2_wep_data *wep = priv; > @@ -207,7 +202,6 @@ static int prism2_wep_get_key(void *key, int len, u8 *seq, void *priv) > return wep->key_len; > } > > - > static void prism2_wep_print_stats(struct seq_file *m, void *priv) > { > struct prism2_wep_data *wep = priv; > @@ -231,13 +225,11 @@ static struct lib80211_crypto_ops rtllib_crypt_wep = { > .owner = THIS_MODULE, > }; > > - > static int __init rtllib_crypto_wep_init(void) > { > return lib80211_register_crypto_ops(&rtllib_crypt_wep); > } > > - > static void __exit rtllib_crypto_wep_exit(void) > { > lib80211_unregister_crypto_ops(&rtllib_crypt_wep); Tested-by: Philipp Hortmann