dlm: remove redundant variable assignments
authorXue Ying <ying.xue@windriver.com>
Fri, 10 Aug 2012 02:58:37 +0000 (10:58 +0800)
committerDavid Teigland <teigland@redhat.com>
Fri, 10 Aug 2012 14:10:10 +0000 (09:10 -0500)
Once the tcp_create_listen_sock() is returned successfully, we
will invoke add_sock() immediately. In add_sock(), the 'con'
variable is assigned to 'sk_user_data', meanwhile, the 'sock' is
also set to 'con->sock'. So it's unnecessary to do the same thing
in tcp_create_listen_sock().

Signed-off-by: Xue Ying <ying.xue@windriver.com>
Signed-off-by: David Teigland <teigland@redhat.com>

No differences found