remove cap_get_bound check

This commit is contained in:
DSLstandard 2024-06-15 20:19:19 +08:00
parent e3f9ca4009
commit b958cd2848
No known key found for this signature in database
GPG Key ID: 3BD5FC6AC8325DD8
1 changed files with 0 additions and 3 deletions

View File

@ -7,9 +7,6 @@ int check_perfmon(vk_handle_t* rh) {
cap_t caps;
const cap_value_t cap_list[1] = {CAP_PERFMON};
if ((*rh->cap_get_bound)(CAP_SETFCAP) < 0)
return -1;
caps = (*rh->cap_get_proc)();
if (caps == NULL)
return -1;