OSDN Git Service

posix-cpu-timers: Simplify sample functions
authorThomas Gleixner <tglx@linutronix.de>
Wed, 21 Aug 2019 19:09:00 +0000 (21:09 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 28 Aug 2019 09:50:31 +0000 (11:50 +0200)
commit2092c1d4fed9f279d10600b4c1b5167dd8486a2a
tree3197dc00658d81a4616bdfb63b3f897b73e5abe5
parent5405d0051f7ca820d1781d87baf4d730ff58f208
posix-cpu-timers: Simplify sample functions

All callers hand in a valdiated clock id. Remove the return value which was
unchecked in most places anyway.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Link: https://lkml.kernel.org/r/20190821192920.430475832@linutronix.de
kernel/time/posix-cpu-timers.c