]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/proc/proc_sysctl.c
sysctl: remove "struct file *" argument of ->proc_handler
[net-next-2.6.git] / fs / proc / proc_sysctl.c
index 9b1e4e9a16bfd0f1ee07f109b1964f5700c1a577..f667e8aeabdf1145b42f4cecdf082246eed1e030 100644 (file)
@@ -153,7 +153,7 @@ static ssize_t proc_sys_call_handler(struct file *filp, void __user *buf,
 
        /* careful: calling conventions are nasty here */
        res = count;
-       error = table->proc_handler(table, write, filp, buf, &res, ppos);
+       error = table->proc_handler(table, write, buf, &res, ppos);
        if (!error)
                error = res;
 out: