]> git.baikalelectronics.ru Git - kernel.git/commit
9p-trans_fd: clean up p9_conn_create()
authorTejun Heo <tj@kernel.org>
Wed, 24 Sep 2008 21:22:23 +0000 (16:22 -0500)
committerEric Van Hensbergen <ericvh@ericvh-desktop.austin.ibm.com>
Wed, 24 Sep 2008 21:22:23 +0000 (16:22 -0500)
commit17a92fb51ef659cb805a507b45f6a189cc02d3f2
treec48e86905efaa424fb87a9ed2878e6e3d90c9efc
parente8fce081a06ef72cbf6d552717b03a7433e8a63a
9p-trans_fd: clean up p9_conn_create()

* Use kzalloc() to allocate p9_conn and remove 0/NULL initializations.

* Clean up error return paths.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
net/9p/trans_fd.c