uaccess: remove CONFIG_SET_FS
[linux-2.6-microblaze.git] / net / bpfilter / bpfilter_kern.c
index 51a941b..422ec6e 100644 (file)
@@ -70,7 +70,7 @@ static int bpfilter_process_sockopt(struct sock *sk, int optname,
                .addr           = (uintptr_t)optval.user,
                .len            = optlen,
        };
-       if (uaccess_kernel() || sockptr_is_kernel(optval)) {
+       if (sockptr_is_kernel(optval)) {
                pr_err("kernel access not supported\n");
                return -EFAULT;
        }