mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-07-25 10:55:58 +00:00
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>
This commit is contained in:
parent
ca2800f1d4
commit
a167425b39
@ -45,8 +45,6 @@ int main(int argc, char **argv)
|
|||||||
ret = ioctl(fd, DRM_IOCTL_GET_STATS, &stats);
|
ret = ioctl(fd, DRM_IOCTL_GET_STATS, &stats);
|
||||||
assert(ret == 0);
|
assert(ret == 0);
|
||||||
|
|
||||||
assert(stats.count >= 0);
|
|
||||||
|
|
||||||
close(fd);
|
close(fd);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user