power: reset: ltc2952: Remove bogus hrtimer_start() return value checks
authorThomas Gleixner <tglx@linutronix.de>
Mon, 13 Apr 2015 14:43:35 +0000 (16:43 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 23 Apr 2015 12:38:01 +0000 (14:38 +0200)
commit4101ecc23db90ae7e9b2a4b1cfe4aaf37405b4a8
tree6938f6545ba9e3c2b8536e1fbc20e24739a2b081
parentb484403b9abe5f444ae2fee6a249759bb3c35bcf
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
drivers/power/reset/ltc2952-poweroff.c