diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2015-04-13 16:43:35 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-04-23 14:38:01 +0200 |
commit | 4101ecc23db90ae7e9b2a4b1cfe4aaf37405b4a8 (patch) | |
tree | 6938f6545ba9e3c2b8536e1fbc20e24739a2b081 /kernel/events | |
parent | b484403b9abe5f444ae2fee6a249759bb3c35bcf (diff) | |
download | linux-4101ecc23db90ae7e9b2a4b1cfe4aaf37405b4a8.tar.bz2 |
power: reset: ltc2952: Remove bogus hrtimer_start() return value checks
The return value of hrtimer_start() tells whether the timer was
inactive or active already when hrtimer_start() was called.
The code emits a bogus warning if the timer was active already
claiming that the timer could not be started.
Remove it along with the bogus comment in the else path.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Frans Klaver <frans.klaver@xsens.com>
Cc: Sebastian Reichel <sre@kernel.org>
Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Wolfram Sang <wsa@the-dreams.de>
Cc: linux-pm@vger.kernel.org
Diffstat (limited to 'kernel/events')
0 files changed, 0 insertions, 0 deletions