]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit571ffeafffbfdd0b8f2f9d3b991028797ec87e42
treec48e86905efaa424fb87a9ed2878e6e3d90c9efc
parent7dc5d24be06a5ed874af035d52a083a7b61ef1bd
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