Commit 6316fda7 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

[PATCH] NFS: remove an unused function

The patch below removes an unused function from fs/nfsd/nfs3xdr.c
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Acked-by: default avatarNeil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 1ce464f2
......@@ -101,22 +101,6 @@ decode_filename(u32 *p, char **namp, int *lenp)
return p;
}
static inline u32 *
decode_pathname(u32 *p, char **namp, int *lenp)
{
char *name;
int i;
if ((p = xdr_decode_string_inplace(p, namp, lenp, NFS3_MAXPATHLEN)) != NULL) {
for (i = 0, name = *namp; i < *lenp; i++, name++) {
if (*name == '\0')
return NULL;
}
}
return p;
}
static inline u32 *
decode_sattr3(u32 *p, struct iattr *iap)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment