From 74059884d079aa483b4fc30a122c484f992d9ddb Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 2 Feb 2014 20:45:08 +0100 Subject: [PATCH 1/1] audiod: Skip NULL pointer check in compute_time_diff(). We never pass a NULL pointer to this function. --- audiod.c | 2 -- 1 file changed, 2 deletions(-) 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); -- 2.30.2