service: remove unnecessary check
authorAlexander Kuleshov <kuleshovmail@gmail.com>
Sat, 13 Feb 2016 17:55:15 +0000 (23:55 +0600)
committerAlexander Kuleshov <kuleshovmail@gmail.com>
Sat, 13 Feb 2016 17:55:15 +0000 (23:55 +0600)
commit36b693a6a901dd321a7c4f8f82ed44072d04497e
tree3bffac14b2035e310c5ac839d4ad0ae2d1f62ac4
parent06e948901a6f70b4d10c90d05a174da0663d1aba
service: remove unnecessary check

We call dual_timestamp_serialize() only if the s->watchdog_timestamp is
set. But the dual_timestamp_serialize() already checks a given dual
timestamp by the call of the dual_timestamp_is_set(). So we can remove
this check safely.
src/core/service.c