mm: sparse: pass section_nr to find_memory_block
[linux-2.6-microblaze.git] / samples / bpf / tracex5_user.c
index c17d3fb..08dfdc7 100644 (file)
@@ -34,7 +34,6 @@ static void install_accept_all_seccomp(void)
 
 int main(int ac, char **argv)
 {
-       struct rlimit r = {RLIM_INFINITY, RLIM_INFINITY};
        struct bpf_link *link = NULL;
        struct bpf_program *prog;
        struct bpf_object *obj;
@@ -43,8 +42,6 @@ int main(int ac, char **argv)
        char filename[256];
        FILE *f;
 
-       setrlimit(RLIMIT_MEMLOCK, &r);
-
        snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
        obj = bpf_object__open_file(filename, NULL);
        if (libbpf_get_error(obj)) {