capabilities: remove task_ns_* functions
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / linux / capability.h
index 63f59fa8769db12e2d8dfcf927a67f261650fd8c..e3e8d9cb9b08e5983d39228cc9a110c77ae06d77 100644 (file)
@@ -547,7 +547,6 @@ extern bool has_ns_capability_noaudit(struct task_struct *t,
                                      struct user_namespace *ns, int cap);
 extern bool capable(int cap);
 extern bool ns_capable(struct user_namespace *ns, int cap);
-extern bool task_ns_capable(struct task_struct *t, int cap);
 extern bool nsown_capable(int cap);
 
 /* audit system wants to get cap info from files as well */