summaryrefslogtreecommitdiffstats
path: root/net/9p
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-10-23 18:19:35 +0200
committerEric Van Hensbergen <ericvh@gmail.com>2015-03-20 07:34:41 -0700
commit9bfc52c1091c871cbc58390874b5c4ebe266bee0 (patch)
treefbcebe98b82e554127c6766f4e1fd3eeabbff226 /net/9p
parente8782e2fbcb5c1c8823a733a985a2896a1450334 (diff)
downloadlinux-9bfc52c1091c871cbc58390874b5c4ebe266bee0.tar.gz
linux-9bfc52c1091c871cbc58390874b5c4ebe266bee0.tar.bz2
linux-9bfc52c1091c871cbc58390874b5c4ebe266bee0.zip
9p: remove unused variable in p9_fd_create()
p is initialized but unused. Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'net/9p')
-rw-r--r--net/9p/trans_fd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/9p/trans_fd.c b/net/9p/trans_fd.c
index 80d08f6664cb..c73b894846c1 100644
--- a/net/9p/trans_fd.c
+++ b/net/9p/trans_fd.c
@@ -1013,7 +1013,6 @@ p9_fd_create(struct p9_client *client, const char *addr, char *args)
{
int err;
struct p9_fd_opts opts;
- struct p9_trans_fd *p;
parse_opts(args, &opts);
@@ -1026,7 +1025,6 @@ p9_fd_create(struct p9_client *client, const char *addr, char *args)
if (err < 0)
return err;
- p = (struct p9_trans_fd *) client->trans;
p9_conn_create(client);
return 0;