timerfd: Remove an always true check
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 1 Aug 2014 08:28:48 +0000 (11:28 +0300)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 27 Aug 2014 09:17:48 +0000 (11:17 +0200)
commit88299c9bdb109e0d95abdca648065631ff91b2cb
treedd590830b5dbd223d03abf7d6586d88abe44b8aa
parent42594970022d223bf8f30d3aa22819e24779d6f6
timerfd: Remove an always true check

We would have returned -EINVAL earlier if ticks wasn't set.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Link: http://lkml.kernel.org/r/20140801082848.GF28869@mwanda
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
fs/timerfd.c