Commit 2f5c4f3e authored by Dave Jones's avatar Dave Jones

[SUNRPC]: Remove duplicate access_ok().

parent ccd281ce
...@@ -102,7 +102,7 @@ proc_dodebug(ctl_table *table, int write, struct file *file, ...@@ -102,7 +102,7 @@ proc_dodebug(ctl_table *table, int write, struct file *file,
len = sprintf(tmpbuf, "%d", *(unsigned int *) table->data); len = sprintf(tmpbuf, "%d", *(unsigned int *) table->data);
if (len > left) if (len > left)
len = left; len = left;
copy_to_user(buffer, tmpbuf, len); __copy_to_user(buffer, tmpbuf, len);
if ((left -= len) > 0) { if ((left -= len) > 0) {
put_user('\n', (char *)buffer + len); put_user('\n', (char *)buffer + len);
left--; left--;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment