Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp6046956iog; Thu, 23 Jun 2022 10:12:35 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tK1u9jU/n93W+D7KFllUulf8IlatsHuA6TbGgxyt2mc3QmsKFel6oXoCq0aSazk4VB0auu X-Received: by 2002:a17:907:2d2a:b0:710:7ea6:2b9e with SMTP id gs42-20020a1709072d2a00b007107ea62b9emr8927750ejc.371.1656004354806; Thu, 23 Jun 2022 10:12:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656004354; cv=none; d=google.com; s=arc-20160816; b=oAlD4jLY2C+BV5iTvLJnF8Y0Ob8UK97K/4YTucbTg4rt1AhsJEIGRqCWzlxfjUlWGH gmlP36MSkhihMdmhMwi+k2yofDvv8ryMfzkWxhjsIN3qB4tpi1qG34yReQBuCBkCHhmI iKqQJj9phideduj3bw1l3gi0LfAUuIU4RAHRfW6vb5hNwl9QArqIq2IJIDTls35EL3us ZaJ7/swIPELI48dv6+IWyl5JKGyhTLncgLQDl8Gij/fOkCssm5uigbvOzH4jkksKC/m3 09I2u7cfo7bVHkrs4VgQGTxB4IGUx9wkSh1yHfFFrESHaNHm2fI1H/MjTFwNB0x+RcdG aK2w== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=aZ4AyScWQHYR57O64D/colaCwv6V1yvlRXPT3SthtPc=; b=S8ntc2a/L7sy0r3u9r8TZK5k32CcpHn2AWIltm/pqinmCqBsb3TFs0oVmkixB/e5b0 KUFve/rrlwExg7Psap/XzmYa98q/NjxeulXq7ahYzLqhuMBCNCwNuxbaHzZhG730yt60 XjQxWmzipbPwUqhBlUQQOjObfZKWKHSz7lh5D1lzqxlKCqUdxO5jjMW88/PcNxSbUl0H MjBmu0zP3FFCc59UxrTlFwVzFIMjSmODHsRMNFZ6sz9Iq2fDXwmlyxCPMsTeULruGlxt SwVC0vsWK5h5isw4MB2xCwPmwnRvPqmbJHSv+7eop9X+vQmMcc0d5VWhXLoqssIoh7Rl fvAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=pAVaFw3s; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 14-20020a17090602ce00b006fea036b38esi3920395ejk.310.2022.06.23.10.12.08; Thu, 23 Jun 2022 10:12:34 -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=@linuxfoundation.org header.s=korg header.b=pAVaFw3s; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232841AbiFWQ4w (ORCPT + 99 others); Thu, 23 Jun 2022 12:56:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231656AbiFWQwZ (ORCPT ); Thu, 23 Jun 2022 12:52:25 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D261BC70; Thu, 23 Jun 2022 09:52:24 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6ACD861F90; Thu, 23 Jun 2022 16:52:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4E58DC3411B; Thu, 23 Jun 2022 16:52:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656003143; bh=EfjHEXngIHb1NkNDfPiBcIIYBBCupQ5bhVJ1+ujLLhg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pAVaFw3siPbdXJilJnXm5cVHZxYeQ/JxHu//hE56WA+pkE3pSvo+vAEGxd0TLOTsx rop7wVIUj6J3Cw5agEWX9ONyJmGs/9ToWS+W3TCD7OIJP+QS8tMBKXkSZlYzUr4lAW h38VgWLCHxIeQ4wSR4Cba8Ck/Irp0Zjo9nQQ8G2w= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Corentin Labbe , Herbert Xu , "Jason A. Donenfeld" Subject: [PATCH 4.9 145/264] hwrng: core - do not use multiple blank lines Date: Thu, 23 Jun 2022 18:42:18 +0200 Message-Id: <20220623164348.168438952@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220623164344.053938039@linuxfoundation.org> References: <20220623164344.053938039@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 From: Corentin LABBE commit 6bc17d90e62d16828d1a2113b54cfa4e04582fb6 upstream. This patch fix the checkpatch warning "Please don't use multiple blank lines" Signed-off-by: Corentin Labbe Signed-off-by: Herbert Xu Signed-off-by: Jason A. Donenfeld Signed-off-by: Greg Kroah-Hartman --- drivers/char/hw_random/core.c | 5 ----- 1 file changed, 5 deletions(-) --- a/drivers/char/hw_random/core.c +++ b/drivers/char/hw_random/core.c @@ -30,7 +30,6 @@ */ - #include #include #include @@ -45,12 +44,10 @@ #include #include - #define RNG_MODULE_NAME "hw_random" #define PFX RNG_MODULE_NAME ": " #define RNG_MISCDEV_MINOR 183 /* official */ - static struct hwrng *current_rng; static struct task_struct *hwrng_fill; static LIST_HEAD(rng_list); @@ -296,7 +293,6 @@ out_put: goto out; } - static const struct file_operations rng_chrdev_ops = { .owner = THIS_MODULE, .open = rng_dev_open, @@ -314,7 +310,6 @@ static struct miscdevice rng_miscdev = { .groups = rng_dev_groups, }; - static ssize_t hwrng_attr_current_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len)