diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2008-10-03 21:15:38 (GMT) |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2008-10-04 21:12:27 (GMT) |
commit | 2937391385807b3da9cd7a39345259caf550b032 (patch) | |
tree | 6b75733afd1c5eb9a847c72b0c745ffc24aef559 /fs | |
parent | 26a414092353590ceaa5955bcb53f863d6ea7549 (diff) | |
download | linux-fsl-qoriq-2937391385807b3da9cd7a39345259caf550b032.tar.xz |
NLM: Remove unused argument from svc_addsock() function
Clean up: The svc_addsock() function no longer uses its "proto"
argument, so remove it.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Cc: Neil Brown <neilb@suse.de>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfsd/nfsctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c index 862dff5..97543df 100644 --- a/fs/nfsd/nfsctl.c +++ b/fs/nfsd/nfsctl.c @@ -614,7 +614,7 @@ static ssize_t __write_ports(struct file *file, char *buf, size_t size) return -EINVAL; err = nfsd_create_serv(); if (!err) { - err = svc_addsock(nfsd_serv, fd, buf, NULL); + err = svc_addsock(nfsd_serv, fd, buf); if (err >= 0) { err = lockd_up(); if (err < 0) |