Repository navigation
Commit 7621d1f
committed
vtime: Remove a few unneeded generic vtime state checks
Some generic vtime APIs check if the vtime accounting
is enabled on the local CPU before doing their work.
Some of these are not needed because all their callers already
take care of that. Let's remove the checks on these.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Li Zhong <zhong@linux.vnet.ibm.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Kevin Hilman <khilman@linaro.org>1 parent 1b6a259 commit 7621d1f
1 file changed
Lines changed: 1 addition & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
664 | 664 | | |
665 | 665 | | |
666 | 666 | | |
667 | | - | |
668 | | - | |
669 | | - | |
670 | 667 | | |
671 | 668 | | |
672 | 669 | | |
| |||
686 | 683 | | |
687 | 684 | | |
688 | 685 | | |
689 | | - | |
690 | | - | |
691 | | - | |
692 | | - | |
693 | | - | |
694 | | - | |
| 686 | + | |
695 | 687 | | |
696 | 688 | | |
697 | 689 | | |
| |||
701 | 693 | | |
702 | 694 | | |
703 | 695 | | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | 696 | | |
708 | 697 | | |
709 | 698 | | |
| |||
0 commit comments