mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-07-24 02:16:03 +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);
|
||||
assert(ret == 0);
|
||||
|
||||
assert(stats.count >= 0);
|
||||
|
||||
close(fd);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user