From a167425b39c01a729ed3b2ef5a1d17e83edb720f Mon Sep 17 00:00:00 2001 From: Paulo Zanoni Date: Thu, 15 Sep 2011 15:18:40 -0300 Subject: [PATCH] getstats: remove useless assertion getstats.c:48:2: warning: comparison of unsigned expression >= 0 is always true Signed-off-by: Paulo Zanoni Signed-off-by: Daniel Vetter --- tests/getstats.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/getstats.c b/tests/getstats.c index 8d40d0b3..8a7d2999 100644 --- a/tests/getstats.c +++ b/tests/getstats.c @@ -45,8 +45,6 @@ int main(int argc, char **argv) ret = ioctl(fd, DRM_IOCTL_GET_STATS, &stats); assert(ret == 0); - assert(stats.count >= 0); - close(fd); return 0; }