remove cap_get_bound check

This commit is contained in:
DSLstandard
2024-06-15 20:19:19 +08:00
parent e3f9ca4009
commit b958cd2848

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;