posix-cpu-timers: Remove pointless return value check
authorThomas Gleixner <tglx@linutronix.de>
Wed, 21 Aug 2019 19:08:59 +0000 (21:08 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 28 Aug 2019 09:50:30 +0000 (11:50 +0200)
commit5405d0051f7ca820d1781d87baf4d730ff58f208
tree19d69707cefe1cb6f63550458d9fdb7b58372408
parentda020ce406b2a9b714b82de9123a4c5a4848647b
posix-cpu-timers: Remove pointless return value check

set_process_cpu_timer() checks already whether the clock id is valid. No
point in checking the return value of the sample function. That allows to
simplify the sample function later.

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