lib/drmtest: fixup for the prefault rework

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter 2013-09-08 14:03:20 +02:00
parent fbd64de6be
commit 2096649053

View File

@ -1976,7 +1976,6 @@ static void igt_prefault_control(bool enable)
int fd;
char buf[2] = {'Y', 'N'};
int index;
int result = 0;
fd = open(name, O_RDWR);
igt_require(fd >= 0);