]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
9pnet: trans_fd : allocate struct p9_trans_fd and struct p9_conn together.
authorSimon Derr <simon.derr@bull.net>
Tue, 11 Mar 2014 09:13:09 +0000 (10:13 +0100)
committerEric Van Hensbergen <ericvh@gmail.com>
Tue, 25 Mar 2014 21:38:17 +0000 (16:38 -0500)
commit263c582888d3cd2a5c8e32225140723ec31f1709
tree65875d5c0fcf78a842221d7a01bdc0c902ca5590
parent7b4f307276ae3f69fc4d7c4fb6a188c906755d98
9pnet: trans_fd : allocate struct p9_trans_fd and struct p9_conn together.

There is no point in allocating these structs separately.
Changing this makes the code a little simpler and saves a few bytes of
memory.

Reported-by: Herve Vico
Signed-off-by: Simon Derr <simon.derr@bull.net>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
net/9p/trans_fd.c