clang: Fix static analysis warnings from clang

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
Ben Widawsky
2012-08-30 14:17:01 -07:00
parent 54ed938d39
commit bc62567b77
6 changed files with 11 additions and 12 deletions
-1
View File
@@ -264,7 +264,6 @@ static void set_mode(struct test_output *o, int crtc)
gettimeofday(&now, NULL);
if (now.tv_sec > end.tv_sec ||
(now.tv_sec == end.tv_sec && now.tv_usec >= end.tv_usec)) {
ret = 0;
break;
}