lib: add common min and max macros

Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
Thomas Wood
2014-10-10 11:20:35 +01:00
parent d4e3b6a0f5
commit be4710a541
5 changed files with 8 additions and 12 deletions
-2
View File
@@ -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)