Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b4c798cf authored by Xue Ying's avatar Xue Ying Committed by David Teigland
Browse files

dlm: remove redundant variable assignments



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: default avatarXue Ying <ying.xue@windriver.com>
Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
parent 475f230c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment