From: Randy Dunlap Date: Fri, 27 Jul 2012 18:49:26 +0000 (-0700) Subject: nfs: fix stub return type warnings X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0add3e8567a42b8137e26c0595a59f893d8592e0;p=linux-beck.git 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: Randy Dunlap Cc: Trond Myklebust Signed-off-by: Trond Myklebust --- diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h index b1ecacd8784a..5511690de8a5 100644 --- a/fs/nfs/nfs4_fs.h +++ b/fs/nfs/nfs4_fs.h @@ -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