sysctl: pass kernel pointers to ->proc_handler
[linux-block.git] / net / ipv6 / route.c
index 310cbddaa533fcefc14c8fe3566afab494b64bc0..acdb31e38412782602b5e3d512b699d88dc2012f 100644 (file)
@@ -6088,9 +6088,8 @@ static int rt6_stats_seq_show(struct seq_file *seq, void *v)
 
 #ifdef CONFIG_SYSCTL
 
-static
-int ipv6_sysctl_rtcache_flush(struct ctl_table *ctl, int write,
-                             void __user *buffer, size_t *lenp, loff_t *ppos)
+static int ipv6_sysctl_rtcache_flush(struct ctl_table *ctl, int write,
+                             void *buffer, size_t *lenp, loff_t *ppos)
 {
        struct net *net;
        int delay;