summaryrefslogtreecommitdiff
path: root/benchmarks/gem_exec_reloc.c
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2015-11-02 10:18:27 +0000
committerThomas Wood <thomas.wood@intel.com>2015-11-11 14:20:55 +0000
commit2643793255084362e02bb1ca2ab5031de2d5dc59 (patch)
tree3f59d22bf795c72ecd5d958ba3e89ba59bae1365 /benchmarks/gem_exec_reloc.c
parent52a393a3116f91157bc62d735db297d027d8724b (diff)
Fix comparison of unsigned integers
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'benchmarks/gem_exec_reloc.c')
-rw-r--r--benchmarks/gem_exec_reloc.c2
1 files changed, 0 insertions, 2 deletions
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;
}
}