* [PATCH 1/1 net-next] 9P: remove unused variable in p9_fd_create()
@ 2014-10-23 16:19 Fabian Frederick
0 siblings, 0 replies; only message in thread
From: Fabian Frederick @ 2014-10-23 16:19 UTC (permalink / raw)
To: linux-kernel
Cc: Fabian Frederick, Eric Van Hensbergen, Ron Minnich,
Latchesar Ionkov, David S. Miller, v9fs-developer, netdev
p is initialized but unused.
Signed-off-by: Fabian Frederick <fabf@skynet.be>
---
net/9p/trans_fd.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/net/9p/trans_fd.c b/net/9p/trans_fd.c
index 80d08f6..c73b894 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;
--
1.9.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-10-23 16:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-23 16:19 [PATCH 1/1 net-next] 9P: remove unused variable in p9_fd_create() Fabian Frederick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).