From: Andre Noll Date: Sun, 2 Feb 2014 19:45:08 +0000 (+0100) Subject: audiod: Skip NULL pointer check in compute_time_diff(). X-Git-Tag: v0.5.2~6^2~1 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=74059884d079aa483b4fc30a122c484f992d9ddb;p=paraslash.git audiod: Skip NULL pointer check in compute_time_diff(). We never pass a NULL pointer to this function. --- diff --git a/audiod.c b/audiod.c index ddbe9d8b..e207c758 100644 --- a/audiod.c +++ b/audiod.c @@ -649,8 +649,6 @@ static void compute_time_diff(const struct timeval *status_time) const struct timeval max_deviation = {0, 500 * 1000}; const int time_smooth = 5; - if (!status_time) - return; sign = tv_diff(status_time, now, &diff); // PARA_NOTICE_LOG("%s: sign = %i, sa_time_diff_sign = %i\n", __func__, // sign, sa_time_diff_sign);