diff options
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2011-09-15 15:18:40 -0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2011-09-15 19:39:44 +0200 |
commit | a167425b39c01a729ed3b2ef5a1d17e83edb720f (patch) | |
tree | fdc639d7322e0a1c08b590d93a70d74ef470c0f1 /tests/getstats.c | |
parent | ca2800f1d4d352304dccd33e9ab5c0e27e89a05a (diff) |
getstats: remove useless assertion
getstats.c:48:2: warning: comparison of unsigned expression >= 0 is
always true
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/getstats.c')
-rw-r--r-- | tests/getstats.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/getstats.c b/tests/getstats.c index 8d40d0b36..8a7d29993 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; } |