summaryrefslogtreecommitdiffstats
path: root/include/linux/lockd
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@fieldses.org>2006-03-20 23:24:25 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-03-20 23:24:25 -0500
commit5f12191bc000ea31970339a5f54c11087506711c (patch)
tree073d24a7ccd22ddf9a3f16b488ef1d2f989842b9 /include/linux/lockd
parentf3ee439f43381e45b191cf721b4a51d41f33301f (diff)
downloadlinux-5f12191bc000ea31970339a5f54c11087506711c.tar.gz
linux-5f12191bc000ea31970339a5f54c11087506711c.tar.bz2
linux-5f12191bc000ea31970339a5f54c11087506711c.zip
LOCKD: Make nlmsvc_traverse_shares return void
The nlmsvc_traverse_shares return value is always zero, hence useless. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/lockd')
-rw-r--r--include/linux/lockd/share.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/lockd/share.h b/include/linux/lockd/share.h
index 5d8aa325f140..c75a424ebe4c 100644
--- a/include/linux/lockd/share.h
+++ b/include/linux/lockd/share.h
@@ -25,6 +25,6 @@ u32 nlmsvc_share_file(struct nlm_host *, struct nlm_file *,
struct nlm_args *);
u32 nlmsvc_unshare_file(struct nlm_host *, struct nlm_file *,
struct nlm_args *);
-int nlmsvc_traverse_shares(struct nlm_host *, struct nlm_file *, int);
+void nlmsvc_traverse_shares(struct nlm_host *, struct nlm_file *, int);
#endif /* LINUX_LOCKD_SHARE_H */