summaryrefslogtreecommitdiff
path: root/tests/eviction_common.c
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2014-10-10 11:20:35 +0100
committerThomas Wood <thomas.wood@intel.com>2014-10-17 15:34:43 +0100
commitbe4710a541b517b5f8663448bffed5656d59b47b (patch)
tree65b5f7c23c98c52f0972e5a43d518292757f9b3e /tests/eviction_common.c
parentd4e3b6a0f5cd759182a53e2bc51a3d3f317a81f0 (diff)
lib: add common min and max macros
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'tests/eviction_common.c')
-rw-r--r--tests/eviction_common.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/eviction_common.c b/tests/eviction_common.c
index 6de68a2b..03d8e8c7 100644
--- a/tests/eviction_common.c
+++ b/tests/eviction_common.c
@@ -170,8 +170,6 @@ static int swapping_evictions(int fd, struct igt_eviction_test_ops *ops,
return 0;
}
-#define min(a, b) ((a) < (b) ? (a) : (b))
-
static int forking_evictions(int fd, struct igt_eviction_test_ops *ops,
int surface_size, int working_surfaces,
int trash_surfaces, unsigned flags)