From: Xue Ying Date: Fri, 10 Aug 2012 02:58:37 +0000 (+0800) Subject: dlm: remove redundant variable assignments X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~71^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4c798cf695dc7cee9798a686128461ad0070115;p=pandora-kernel.git 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: Xue Ying Signed-off-by: David Teigland --- Reading git-diff-tree failed