aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/v4l2-subdev.h
diff options
context:
space:
mode:
authorXue Ying <ying.xue@windriver.com>2012-08-10 10:58:37 +0800
committerDavid Teigland <teigland@redhat.com>2012-08-10 09:10:10 -0500
commitb4c798cf695dc7cee9798a686128461ad0070115 (patch)
tree920c1d11f1e2a5f141190cc01a828560ffc80d73 /include/linux/v4l2-subdev.h
parentdlm: fix unlock balance warnings (diff)
downloadwireguard-linux-b4c798cf695dc7cee9798a686128461ad0070115.tar.xz
wireguard-linux-b4c798cf695dc7cee9798a686128461ad0070115.zip
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 <ying.xue@windriver.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'include/linux/v4l2-subdev.h')
0 files changed, 0 insertions, 0 deletions