From 2643793255084362e02bb1ca2ab5031de2d5dc59 Mon Sep 17 00:00:00 2001 From: Thomas Wood Date: Mon, 2 Nov 2015 10:18:27 +0000 Subject: Fix comparison of unsigned integers Signed-off-by: Thomas Wood --- benchmarks/gem_exec_reloc.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'benchmarks/gem_exec_reloc.c') diff --git a/benchmarks/gem_exec_reloc.c b/benchmarks/gem_exec_reloc.c index 5be482a7..2ef6df57 100644 --- a/benchmarks/gem_exec_reloc.c +++ b/benchmarks/gem_exec_reloc.c @@ -249,8 +249,6 @@ int main(int argc, char **argv) case 'r': num_relocs = atoi(optarg); - if (num_relocs < 0) - num_relocs = 0; break; } } -- cgit v1.2.3