X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=net%2F9p%2Ftrans_fd.c;h=bced8c074c1280c6ff175576cb035bf048f18ddd;hb=f1a77547c21fe942e95ebaadbc9200f26d138574;hp=3e3d82d8ff70506c2878d4b55bf44269ed26b5cb;hpb=6b6e177d632ee251c7c78d8f266a851ab9704879;p=karo-tx-linux.git diff --git a/net/9p/trans_fd.c b/net/9p/trans_fd.c index 3e3d82d8ff70..bced8c074c12 100644 --- a/net/9p/trans_fd.c +++ b/net/9p/trans_fd.c @@ -734,6 +734,7 @@ static int parse_opts(char *params, struct p9_fd_opts *opts) opts->port = P9_PORT; opts->rfd = ~0; opts->wfd = ~0; + opts->privport = 0; if (!params) return 0; @@ -1013,7 +1014,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 +1026,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;