Skip to content

Commit

Permalink
nfs: fix stub return type warnings
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Trond Myklebust committed Jul 30, 2012
1 parent bb6e071 commit 0add3e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/nfs/nfs4_fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0add3e8

Please sign in to comment.