]> git.baikalelectronics.ru Git - kernel.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)
commit46eba6e8e333031ce7181c9211444002a1bf22d0
tree65875d5c0fcf78a842221d7a01bdc0c902ca5590
parent2fb18d17d2cfc97886885518a003c43b24c57b52
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