Commit 0add3e85 authored by Randy Dunlap's avatar Randy Dunlap Committed by Trond Myklebust

nfs: fix stub return type warnings

Fix numerous repeated warnings by making the stub function
void instead of non-void:

fs/nfs/nfs4_fs.h: In function 'nfs4_unregister_sysctl':
fs/nfs/nfs4_fs.h:385:1: warning: no return statement in function returning non-void
Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
Cc:	Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent bb6e071f
...@@ -380,7 +380,7 @@ static inline int nfs4_register_sysctl(void) ...@@ -380,7 +380,7 @@ static inline int nfs4_register_sysctl(void)
return 0; return 0;
} }
static inline int nfs4_unregister_sysctl(void) static inline void nfs4_unregister_sysctl(void)
{ {
} }
#endif #endif
......
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