audiod: Skip NULL pointer check in compute_time_diff().
[paraslash.git] / audiod.c
index ddbe9d8bfb58550deb89cb771815362af7a1f78b..e207c7586625dbb49595cb85d992284f157e3d72 100644 (file)
--- 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;
 
        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);
        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);