diff options
| author | Randy Dunlap <rdunlap@xenotime.net> | 2012-07-27 14:49:26 -0400 |
|---|---|---|
| committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-07-30 17:30:24 -0400 |
| commit | 0add3e8567a42b8137e26c0595a59f893d8592e0 (patch) | |
| tree | 5ccc3076793162f73b8d953018875acaf9f9d85c | |
| parent | bb6e071f845d32545e3e943058012f328a2e95ad (diff) | |
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 <rdunlap@xenotime.net>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
| -rw-r--r-- | fs/nfs/nfs4_fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
| 380 | return 0; | 380 | return 0; |
| 381 | } | 381 | } |
| 382 | 382 | ||
| 383 | static inline int nfs4_unregister_sysctl(void) | 383 | static inline void nfs4_unregister_sysctl(void) |
| 384 | { | 384 | { |
| 385 | } | 385 | } |
| 386 | #endif | 386 | #endif |
