summaryrefslogtreecommitdiffstats
path: root/fs/9p/9p.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-03-24 03:15:52 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-24 07:33:21 -0800
commit29c6e48601065908e7933c0d8440f383fffe155b (patch)
treef72cd38d9b533ba897b95dd1047edf3e378d6a46 /fs/9p/9p.c
parentcaa9ee771de3195ae85ac6f8cb550f53e9ecdd82 (diff)
downloadlinux-29c6e48601065908e7933c0d8440f383fffe155b.tar.gz
linux-29c6e48601065908e7933c0d8440f383fffe155b.tar.bz2
linux-29c6e48601065908e7933c0d8440f383fffe155b.zip
[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/9p.c')
-rw-r--r--fs/9p/9p.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/9p/9p.c b/fs/9p/9p.c
index f86a28d1d6a6..c148e6ba07e5 100644
--- a/fs/9p/9p.c
+++ b/fs/9p/9p.c
@@ -148,6 +148,7 @@ v9fs_t_clunk(struct v9fs_session_info *v9ses, u32 fid)
return ret;
}
+#if 0
/**
* v9fs_v9fs_t_flush - flush a pending transaction
* @v9ses: 9P2000 session information
@@ -171,6 +172,7 @@ int v9fs_t_flush(struct v9fs_session_info *v9ses, u16 oldtag)
return ret;
}
+#endif /* 0 */
/**
* v9fs_t_stat - read a file's meta-data