Skip to content

Commit 58c5fc2

Browse files
committed
time: Remove useless filenames in top level comments
Remove the pointless filenames in the top level comments. They have no value at all and just occupy space. While at it tidy up some of the comments and remove a stale one. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Nicolas Pitre <nico@linaro.org> Acked-by: Kees Cook <keescook@chromium.org> Acked-by: Ingo Molnar <mingo@kernel.org> Acked-by: John Stultz <john.stultz@linaro.org> Acked-by: Corey Minyard <cminyard@mvista.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Kate Stewart <kstewart@linuxfoundation.org> Cc: Philippe Ombredanne <pombredanne@nexb.com> Cc: Peter Anvin <hpa@zytor.com> Cc: Russell King <rmk+kernel@armlinux.org.uk> Cc: Richard Cochran <richardcochran@gmail.com> Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> Cc: David Riley <davidriley@chromium.org> Cc: Colin Cross <ccross@android.com> Cc: Mark Brown <broonie@kernel.org> Link: https://lkml.kernel.org/r/20181031182252.794898238@linutronix.de
1 parent 7d9df98 commit 58c5fc2

19 files changed

Lines changed: 15 additions & 68 deletions

‎include/linux/hrtimer.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* include/linux/hrtimer.h
3-
*
42
* hrtimers - High-resolution kernel timers
53
*
64
* Copyright(C) 2005, Thomas Gleixner <tglx@linutronix.de>

‎kernel/time/clockevents.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* linux/kernel/time/clockevents.c
3-
*
42
* This file contains functions which manage clock event devices.
53
*
64
* Copyright(C) 2005-2006, Thomas Gleixner <tglx@linutronix.de>

‎kernel/time/clocksource.c‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* linux/kernel/time/clocksource.c
3-
*
42
* This file contains the functions which manage clocksource drivers.
53
*
64
* Copyright (C) 2004, 2005 IBM, John Stultz (johnstul@us.ibm.com)
@@ -18,9 +16,6 @@
1816
* You should have received a copy of the GNU General Public License
1917
* along with this program; if not, write to the Free Software
2018
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21-
*
22-
* TODO WishList:
23-
* o Allow clocksource drivers to be unregistered
2419
*/
2520

2621
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

‎kernel/time/hrtimer.c‎

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,18 @@
11
/*
2-
* linux/kernel/hrtimer.c
3-
*
42
* Copyright(C) 2005-2006, Thomas Gleixner <tglx@linutronix.de>
53
* Copyright(C) 2005-2007, Red Hat, Inc., Ingo Molnar
64
* Copyright(C) 2006-2007 Timesys Corp., Thomas Gleixner
75
*
86
* High-resolution kernel timers
97
*
10-
* In contrast to the low-resolution timeout API implemented in
11-
* kernel/timer.c, hrtimers provide finer resolution and accuracy
12-
* depending on system configuration and capabilities.
13-
*
14-
* These timers are currently used for:
15-
* - itimers
16-
* - POSIX timers
17-
* - nanosleep
18-
* - precise in-kernel timing
8+
* In contrast to the low-resolution timeout API, aka timer wheel,
9+
* hrtimers provide finer resolution and accuracy depending on system
10+
* configuration and capabilities.
1911
*
2012
* Started by: Thomas Gleixner and Ingo Molnar
2113
*
2214
* Credits:
23-
* based on kernel/timer.c
15+
* Based on the original timer wheel code
2416
*
2517
* Help, testing, suggestions, bugfixes, improvements were
2618
* provided by:

‎kernel/time/itimer.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// SPDX-License-Identifier: GPL-2.0
22
/*
3-
* linux/kernel/itimer.c
4-
*
53
* Copyright (C) 1992 Darren Senn
64
*/
75

‎kernel/time/jiffies.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/***********************************************************************
2-
* linux/kernel/time/jiffies.c
3-
*
42
* This file contains the jiffies based clocksource.
53
*
64
* Copyright (C) 2004, 2005 IBM, John Stultz (johnstul@us.ibm.com)

‎kernel/time/posix-clock.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* posix-clock.c - support for dynamic clock devices
2+
* Support for dynamic clock devices
33
*
44
* Copyright (C) 2010 OMICRON electronics GmbH
55
*

‎kernel/time/posix-timers.c‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
/*
2-
* linux/kernel/posix-timers.c
3-
*
4-
*
52
* 2002-10-15 Posix Clocks & timers
63
* by George Anzinger george@mvista.com
7-
*
84
* Copyright (C) 2002 2003 by MontaVista Software.
95
*
106
* 2004-06-01 Fix CLOCK_REALTIME clock/timer TIMER_ABSTIME bug.

‎kernel/time/sched_clock.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* sched_clock.c: Generic sched_clock() support, to extend low level
3-
* hardware time counters to full 64-bit ns values.
2+
* Generic sched_clock() support, to extend low level hardware time
3+
* counters to full 64-bit ns values.
44
*
55
* This program is free software; you can redistribute it and/or modify
66
* it under the terms of the GNU General Public License version 2 as

‎kernel/time/tick-broadcast-hrtimer.c‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0
22
/*
3-
* linux/kernel/time/tick-broadcast-hrtimer.c
4-
* This file emulates a local clock event device
5-
* via a pseudo clock device.
3+
* Emulate a local clock event device via a pseudo clock device.
64
*/
75
#include <linux/cpu.h>
86
#include <linux/err.h>

0 commit comments

Comments
 (0)