2013-12-05 03:07:26

by Kinglong Mee

[permalink] [raw]
Subject: [PATCH] nfsd: get rid of unused function definition


Signed-off-by: Kinglong Mee <[email protected]>
---
fs/nfsd/vfs.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/fs/nfsd/vfs.h b/fs/nfsd/vfs.h
index a4be2e3..fd8c0cc 100644
--- a/fs/nfsd/vfs.h
+++ b/fs/nfsd/vfs.h
@@ -89,8 +89,6 @@ __be32 nfsd_link(struct svc_rqst *, struct svc_fh *,
__be32 nfsd_rename(struct svc_rqst *,
struct svc_fh *, char *, int,
struct svc_fh *, char *, int);
-__be32 nfsd_remove(struct svc_rqst *,
- struct svc_fh *, char *, int);
__be32 nfsd_unlink(struct svc_rqst *, struct svc_fh *, int type,
char *name, int len);
__be32 nfsd_readdir(struct svc_rqst *, struct svc_fh *,
--
1.8.4.2


2013-12-05 14:57:25

by J. Bruce Fields

[permalink] [raw]
Subject: Re: [PATCH] nfsd: get rid of unused function definition

Thanks, applying.--b.

On Thu, Dec 05, 2013 at 11:07:20AM +0800, Kinglong Mee wrote:
>
> Signed-off-by: Kinglong Mee <[email protected]>
> ---
> fs/nfsd/vfs.h | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/fs/nfsd/vfs.h b/fs/nfsd/vfs.h
> index a4be2e3..fd8c0cc 100644
> --- a/fs/nfsd/vfs.h
> +++ b/fs/nfsd/vfs.h
> @@ -89,8 +89,6 @@ __be32 nfsd_link(struct svc_rqst *, struct svc_fh *,
> __be32 nfsd_rename(struct svc_rqst *,
> struct svc_fh *, char *, int,
> struct svc_fh *, char *, int);
> -__be32 nfsd_remove(struct svc_rqst *,
> - struct svc_fh *, char *, int);
> __be32 nfsd_unlink(struct svc_rqst *, struct svc_fh *, int type,
> char *name, int len);
> __be32 nfsd_readdir(struct svc_rqst *, struct svc_fh *,
> --
> 1.8.4.2