Skip to content

Commit df3e1c8

Browse files
TinyWindzzrafaeljw
authored andcommitted
cpufreq: ia64: Remove unused header files
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 <tiny.windzz@gmail.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent cccf6ae commit df3e1c8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/cpufreq/ia64-acpi-cpufreq.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#include <linux/init.h>
1717
#include <linux/cpufreq.h>
1818
#include <linux/proc_fs.h>
19-
#include <linux/seq_file.h>
2019
#include <asm/io.h>
2120
#include <linux/uaccess.h>
2221
#include <asm/pal.h>
@@ -28,7 +27,6 @@ MODULE_AUTHOR("Venkatesh Pallipadi");
2827
MODULE_DESCRIPTION("ACPI Processor P-States Driver");
2928
MODULE_LICENSE("GPL");
3029

31-
3230
struct cpufreq_acpi_io {
3331
struct acpi_processor_performance acpi_data;
3432
unsigned int resume;
@@ -348,10 +346,7 @@ acpi_cpufreq_exit (void)
348346
pr_debug("acpi_cpufreq_exit\n");
349347

350348
cpufreq_unregister_driver(&acpi_cpufreq_driver);
351-
return;
352349
}
353350

354-
355351
late_initcall(acpi_cpufreq_init);
356352
module_exit(acpi_cpufreq_exit);
357-

0 commit comments

Comments
 (0)