projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
9p: remove unused variable in p9_fd_create()
[firefly-linux-kernel-4.4.55.git]
/
net
/
9p
/
trans_fd.c
diff --git
a/net/9p/trans_fd.c
b/net/9p/trans_fd.c
index 80d08f6664cbb5611eef291b959facd5332a61ef..c73b894846c17db57bc1b74440618e06e897cdcc 100644
(file)
--- 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;
{
int err;
struct p9_fd_opts opts;
- struct p9_trans_fd *p;
parse_opts(args, &opts);
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;
if (err < 0)
return err;
- p = (struct p9_trans_fd *) client->trans;
p9_conn_create(client);
return 0;
p9_conn_create(client);
return 0;