Skip to contentSkip to conversation

9p: client code cleanup

PATCH Applied Stephen Hemminger 2 participants 2 messages Oct 19, 2010 – Oct 21, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 9p: client code cleanup

Make p9_client_version static since only used in one file. Remove p9_client_auth because it is defined but never used. Compile tested only.

---
 include/net/9p/client.h |    3 ---
 net/9p/client.c         |    6 ++----
 2 files changed, 2 insertions(+), 7 deletions(-)
include/net/9p/client.h +0 -3
@@ -212,15 +212,12 @@ struct p9_dirent {
 
 int p9_client_statfs(struct p9_fid *fid, struct p9_rstatfs *sb);
 int p9_client_rename(struct p9_fid *fid, struct p9_fid *newdirfid, char *name);
-int p9_client_version(struct p9_client *);
 struct p9_client *p9_client_create(const char *dev_name, char *options);
 void p9_client_destroy(struct p9_client *clnt);
 void p9_client_disconnect(struct p9_client *clnt);
 void p9_client_begin_disconnect(struct p9_client *clnt);
 struct p9_fid *p9_client_attach(struct p9_client *clnt, struct p9_fid *afid,
 					char *uname, u32 n_uname, char *aname);
-struct p9_fid *p9_client_auth(struct p9_client *clnt, char *uname,
-						u32 n_uname, char *aname);
 struct p9_fid *p9_client_walk(struct p9_fid *oldfid, int nwname, char **wnames,
 								int clone);
 int p9_client_open(struct p9_fid *fid, int mode);
net/9p/client.c +1 -50

69 lines not on this page · raw message