From patchwork Wed Dec 5 15:44:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yangtao Li X-Patchwork-Id: 10714457 X-Patchwork-Delegate: rjw@sisk.pl Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AE8FC1731 for ; Wed, 5 Dec 2018 15:44:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9DF2E2D6E6 for ; Wed, 5 Dec 2018 15:44:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 90C2A2D75B; Wed, 5 Dec 2018 15:44:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 11F7A2D765 for ; Wed, 5 Dec 2018 15:44:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727475AbeLEPox (ORCPT ); Wed, 5 Dec 2018 10:44:53 -0500 Received: from mail-pf1-f195.google.com ([209.85.210.195]:32774 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727195AbeLEPox (ORCPT ); Wed, 5 Dec 2018 10:44:53 -0500 Received: by mail-pf1-f195.google.com with SMTP id c123so10207120pfb.0; Wed, 05 Dec 2018 07:44:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=9REQr19w9mU8jHIC9uOgL/eGCLKrhkT+ptyiJjrO2tQ=; b=cA4GwHl9almY9Sa9dBIjODzGXtarfYHwPJnu+3eFYMOFjvp4/kMIc+Mp19L6F2YuFb sHfKN3wv1g43d/W7dfJScxZvrfwDDwdE379QsGXEZP65nra34eWF7UZZTF5353z5skrx UP5YnVOpNdH0aROrdgH354whv7oaMgdpY8fLH0yIYiKarRBC7jKt1iXS/IBQY+38eAok RxbYQNLZfcErGyJrVVF/xRvzz6sTc5kBXtzBbN2j8BGhh5vfvm75ruKbwnwbNaNlRW2r WkK6KpGjd3gckJmUYuy50FwfypsfLShUY8px06fvxz22NV5dvMggaqAPpfLp9V/FDeMB bEkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=9REQr19w9mU8jHIC9uOgL/eGCLKrhkT+ptyiJjrO2tQ=; b=XRqqwrrVob4BRYNafETB6h68d/r8c5wAvjDjfeZEaqZBm2A8WT9ttKf6EUW4YzAMWQ fkKK+SDW8JZ/YclnTOuUq5udEtN/UXqrh05TVLUYuH2vIpmVD5mhcape7ch/TzLwfJ3b ltBizvHsX9YC2cwlsnIzXAbhu6RYhqul41E3Iu+4CkX35AF4egj7ePX/5FEbT+jw240E rF2PxCJw9Dpi4yIjcBGG983f1uJEHMLrhxeNWSwtw4+kZDoq26973YoE4piJDGOMcPi8 /zryG4PK0fH64+wNqsrcuH53mvNyXn+SyH7tkJmyD2/mJL6nTttS3LEcn9akRzhywX0c 4gkQ== X-Gm-Message-State: AA+aEWauq9ol4ipEXuStRhk8jrrhKAnWyy3fQcUOoTunGA42RrWclUhF jxm9rSPgmpma2/At97LBmdF0I7PPETA= X-Google-Smtp-Source: AFSGD/WKlptpOSm62jI6i/izU2hAakE6Z4SClRqXhpItTxylnr3q3fxxUZl5xVl/IfzjNGbEy2yKpA== X-Received: by 2002:a63:eb52:: with SMTP id b18mr20434086pgk.213.1544024692323; Wed, 05 Dec 2018 07:44:52 -0800 (PST) Received: from localhost (68.168.130.77.16clouds.com. [68.168.130.77]) by smtp.gmail.com with ESMTPSA id t87sm55781960pfk.122.2018.12.05.07.44.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 05 Dec 2018 07:44:51 -0800 (PST) From: Yangtao Li To: rjw@rjwysocki.net, viresh.kumar@linaro.org Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Yangtao Li Subject: [PATCH v2] cpufreq: ia64: Remove unused header files Date: Wed, 5 Dec 2018 10:44:49 -0500 Message-Id: <20181205154449.15725-1-tiny.windzz@gmail.com> X-Mailer: git-send-email 2.17.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP seq_file.h does not need to be included, so remove it. Moreover deleted a line of meaningless return and some useless blank lines. In a function whose return type is void, returning on the last line is not required. Signed-off-by: Yangtao Li Acked-by: Viresh Kumar --- changes in v2: -revert modify of MODULE_ -delete some blank lines --- drivers/cpufreq/ia64-acpi-cpufreq.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/cpufreq/ia64-acpi-cpufreq.c b/drivers/cpufreq/ia64-acpi-cpufreq.c index dd5440d3372d..80c5bf590acb 100644 --- a/drivers/cpufreq/ia64-acpi-cpufreq.c +++ b/drivers/cpufreq/ia64-acpi-cpufreq.c @@ -16,7 +16,6 @@ #include #include #include -#include #include #include #include @@ -28,7 +27,6 @@ MODULE_AUTHOR("Venkatesh Pallipadi"); MODULE_DESCRIPTION("ACPI Processor P-States Driver"); MODULE_LICENSE("GPL"); - struct cpufreq_acpi_io { struct acpi_processor_performance acpi_data; unsigned int resume; @@ -348,10 +346,7 @@ acpi_cpufreq_exit (void) pr_debug("acpi_cpufreq_exit\n"); cpufreq_unregister_driver(&acpi_cpufreq_driver); - return; } - late_initcall(acpi_cpufreq_init); module_exit(acpi_cpufreq_exit); -