diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2014-04-08 01:06:28 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-05-08 14:59:52 -0400 |
commit | 9fa1959e976f7a6ae84f616ca669359028070c61 (patch) | |
tree | 7a580c120ff3ed2cec0c6303ffb3ba6bab42139f /fs/nfsd/nfsd.h | |
parent | f3e41ec5ef0f5d2e10b6bfd3a13dc29f6d260d79 (diff) |
NFSD: Get rid of empty function nfs4_state_init
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfsd.h')
-rw-r--r-- | fs/nfsd/nfsd.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfsd/nfsd.h b/fs/nfsd/nfsd.h index e9f2fd42d184..847daf37e566 100644 --- a/fs/nfsd/nfsd.h +++ b/fs/nfsd/nfsd.h | |||
@@ -115,7 +115,6 @@ static inline int nfsd_v4client(struct svc_rqst *rq) | |||
115 | */ | 115 | */ |
116 | #ifdef CONFIG_NFSD_V4 | 116 | #ifdef CONFIG_NFSD_V4 |
117 | extern unsigned long max_delegations; | 117 | extern unsigned long max_delegations; |
118 | void nfs4_state_init(void); | ||
119 | int nfsd4_init_slabs(void); | 118 | int nfsd4_init_slabs(void); |
120 | void nfsd4_free_slabs(void); | 119 | void nfsd4_free_slabs(void); |
121 | int nfs4_state_start(void); | 120 | int nfs4_state_start(void); |
@@ -126,7 +125,6 @@ void nfs4_reset_lease(time_t leasetime); | |||
126 | int nfs4_reset_recoverydir(char *recdir); | 125 | int nfs4_reset_recoverydir(char *recdir); |
127 | char * nfs4_recoverydir(void); | 126 | char * nfs4_recoverydir(void); |
128 | #else | 127 | #else |
129 | static inline void nfs4_state_init(void) { } | ||
130 | static inline int nfsd4_init_slabs(void) { return 0; } | 128 | static inline int nfsd4_init_slabs(void) { return 0; } |
131 | static inline void nfsd4_free_slabs(void) { } | 129 | static inline void nfsd4_free_slabs(void) { } |
132 | static inline int nfs4_state_start(void) { return 0; } | 130 | static inline int nfs4_state_start(void) { return 0; } |