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>
This commit is contained in:
Fabian Frederick 2014-10-23 18:19:35 +02:00 committed by Eric Van Hensbergen
parent e8782e2fbc
commit 9bfc52c109
1 changed files with 0 additions and 2 deletions

View File

@ -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;