diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2013-12-15 21:48:49 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-01-02 17:53:23 -0500 |
commit | b9b284df6c2013aeceb974055426f35e03ac43fc (patch) | |
tree | 4972a20afaba7a37fea946169d063b36c3833cd7 | |
parent | a8bb84bc9e57ad214024425d480a722f304df9e8 (diff) |
nfsd: get rid of unused function definition
commit 557ce2646e775f6bda734dd92b10d4780874b9c7
"nfsd41: replace page based DRC with buffer based DRC"
have remove unused nfsd4_set_statp, but miss the function definition.
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
-rw-r--r-- | fs/nfsd/cache.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/nfsd/cache.h b/fs/nfsd/cache.h index d5c5b3e00266..b582f9ab6b2a 100644 --- a/fs/nfsd/cache.h +++ b/fs/nfsd/cache.h | |||
@@ -84,12 +84,4 @@ int nfsd_cache_lookup(struct svc_rqst *); | |||
84 | void nfsd_cache_update(struct svc_rqst *, int, __be32 *); | 84 | void nfsd_cache_update(struct svc_rqst *, int, __be32 *); |
85 | int nfsd_reply_cache_stats_open(struct inode *, struct file *); | 85 | int nfsd_reply_cache_stats_open(struct inode *, struct file *); |
86 | 86 | ||
87 | #ifdef CONFIG_NFSD_V4 | ||
88 | void nfsd4_set_statp(struct svc_rqst *rqstp, __be32 *statp); | ||
89 | #else /* CONFIG_NFSD_V4 */ | ||
90 | static inline void nfsd4_set_statp(struct svc_rqst *rqstp, __be32 *statp) | ||
91 | { | ||
92 | } | ||
93 | #endif /* CONFIG_NFSD_V4 */ | ||
94 | |||
95 | #endif /* NFSCACHE_H */ | 87 | #endif /* NFSCACHE_H */ |