aboutsummaryrefslogtreecommitdiffstats
path: root/fs/9p/conv.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-03-24 06:15:52 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-24 10:33:21 -0500
commit29c6e48601065908e7933c0d8440f383fffe155b (patch)
treef72cd38d9b533ba897b95dd1047edf3e378d6a46 /fs/9p/conv.c
parentcaa9ee771de3195ae85ac6f8cb550f53e9ecdd82 (diff)
[PATCH] fs/9p/: possible cleanups
- mux.c: v9fs_poll_mux() was inline but not static resuling in needless object size bloat - mux.c: remove all "inline"s: gcc should know best what to inline - #if 0 the following unused global functions: - 9p.c: v9fs_v9fs_t_flush() - conv.c: v9fs_create_tauth() - mux.c: v9fs_mux_rpcnb() Signed-off-by: Adrian Bunk <bunk@stusta.de> Cc: Eric Van Hensbergen <ericvh@ericvh.myip.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/9p/conv.c')
-rw-r--r--fs/9p/conv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/9p/conv.c b/fs/9p/conv.c
index bf1f1006796..bba81714246 100644
--- a/fs/9p/conv.c
+++ b/fs/9p/conv.c
@@ -536,6 +536,7 @@ struct v9fs_fcall *v9fs_create_tversion(u32 msize, char *version)
536 return fc; 536 return fc;
537} 537}
538 538
539#if 0
539struct v9fs_fcall *v9fs_create_tauth(u32 afid, char *uname, char *aname) 540struct v9fs_fcall *v9fs_create_tauth(u32 afid, char *uname, char *aname)
540{ 541{
541 int size; 542 int size;
@@ -559,6 +560,7 @@ struct v9fs_fcall *v9fs_create_tauth(u32 afid, char *uname, char *aname)
559 error: 560 error:
560 return fc; 561 return fc;
561} 562}
563#endif /* 0 */
562 564
563struct v9fs_fcall * 565struct v9fs_fcall *
564v9fs_create_tattach(u32 fid, u32 afid, char *uname, char *aname) 566v9fs_create_tattach(u32 fid, u32 afid, char *uname, char *aname)