nfs: fix stub return type warnings
authorRandy Dunlap <rdunlap@xenotime.net>
Fri, 27 Jul 2012 18:49:26 +0000 (11:49 -0700)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 30 Jul 2012 21:30:24 +0000 (17:30 -0400)
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: Randy Dunlap <rdunlap@xenotime.net>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4_fs.h

index b1ecacd8784a178e76fc129d5824626bf07d98d6..5511690de8a583aec9b6a79915eb049b8544ea49 100644 (file)
@@ -380,7 +380,7 @@ static inline int nfs4_register_sysctl(void)
        return 0;
 }
 
-static inline int nfs4_unregister_sysctl(void)
+static inline void nfs4_unregister_sysctl(void)
 {
 }
 #endif